Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
backend_mkl.hpp File Reference
#include <uni20/config.hpp>
#include <mkl.h>
#include <string>
Include dependency graph for backend_mkl.hpp:

Go to the source code of this file.

Namespaces

namespace  uni20
 
namespace  uni20::blas
 
namespace  uni20::blas::mkl
 

Enumerations

enum class  uni20::blas::mkl::Domain : int {
  uni20::blas::mkl::Domain::all = MKL_DOMAIN_ALL , uni20::blas::mkl::Domain::blas = MKL_DOMAIN_BLAS , uni20::blas::mkl::Domain::fft = MKL_DOMAIN_FFT , uni20::blas::mkl::Domain::vml = MKL_DOMAIN_VML ,
  uni20::blas::mkl::Domain::pardiso = MKL_DOMAIN_PARDISO , uni20::blas::mkl::Domain::lapack = MKL_DOMAIN_LAPACK
}
 MKL computation domains accepted by domain-specific thread controls. More...
 

Functions

int uni20::blas::mkl::max_threads ()
 Return the current global maximum number of oneMKL threads.
 
int uni20::blas::mkl::max_threads (Domain domain)
 Return the maximum oneMKL thread count for a specific domain.
 
constexpr bool uni20::blas::mkl::sequential_backend ()
 Return whether this build links the sequential MKL backend.
 
void uni20::blas::mkl::set_num_threads (int threads)
 Set the global maximum number of oneMKL threads.
 
int uni20::blas::mkl::set_num_threads (int threads, Domain domain)
 Set the maximum number of oneMKL threads for a specific domain.
 
constexpr bool uni20::blas::mkl::threaded_backend ()
 Return whether this build links the threaded MKL backend.
 
std::string uni20::blas::mkl::version_string ()
 Return the oneMKL version string.