1 #ifndef LSST_BASE_THREADS_H 2 #define LSST_BASE_THREADS_H 16 std::string
const allowEnvvar =
"LSST_ALLOW_IMPLICIT_THREADS";
60 #endif // include guard
bool haveThreads()
Are threaded packages available?
bool disableImplicitThreading()
Disable threading that has not been set explicitly.
bool const haveMkl
Is MKL available?
No threading library is available.
std::string const allowEnvvar
Environment variable to allow implicit threading.
void setNumThreads(unsigned int numThreads)
Set number of threads to use.
unsigned int getNumThreads()
Get maximum number of threads we might use.
bool const haveOpenBlas
Is OpenBLAS available?