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

Go to the source code of this file.

Namespaces

namespace  uni20
 
namespace  uni20::blas
 
namespace  uni20::blas::openblas
 

Enumerations

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

Functions

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