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

Enumerations

enum class  ParallelMode : int { ParallelMode::sequential = 0 , ParallelMode::thread = 1 , ParallelMode::openmp = 2 }
 OpenBLAS parallel runtime mode. More...
 

Functions

std::string config ()
 Return the OpenBLAS build configuration string.
 
std::string core_name ()
 Return the OpenBLAS CPU core name selected by the library.
 
int num_procs ()
 Return the processor count reported by OpenBLAS.
 
int num_threads ()
 Return the current number of OpenBLAS worker threads.
 
ParallelMode parallel_mode ()
 Return the OpenBLAS parallel runtime mode.
 
void set_num_threads (int threads)
 Set the number of OpenBLAS worker threads.