Implementation for inc/util/threads.h. More...
#include <cstdlib>
#include <cstring>
#include "inc/util/threads.h"
#include "inc/util/blas-wrapper.h"
#include "inc/util/log.h"
Namespaces | |
namespace | syten |
Syten namespace. | |
namespace | syten::Threading |
Threading-control variables and functions. | |
Functions | |
int | omp_get_thread_num () |
Only exists if OpenMP is disabled, returns always 0. More... | |
Variables | |
int | syten::Threading::denseNum = 1 |
Number of threads to use for dense tensor level parallelisation, configured by SYTEN_THREAD_DENSE, –threads-dense. More... | |
int | syten::Threading::superNum = 1 |
Number of threads to use for parallelisation above the tensor block level, configured by SYTEN_THREAD_SUPER, –threads-super. More... | |
int | syten::Threading::tensorNum = 1 |
Number of threads to use for tensor-block level parallelisation, configured by SYTEN_THREAD_TENSOR, –threads-tensor. More... | |
int | syten::Threading::tpoNum = 1 |
Number of threads to use for tensor-product-operator-level parallelisation, configured by SYTEN_THREAD_TPO, –threads-tpo. More... | |
Implementation for inc/util/threads.h.