Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Enumerations | Functions
uni20::blas::mkl Namespace Reference

Enumerations

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

Functions

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