SyTen
threads.cpp File Reference

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"
+ Include dependency graph for threads.cpp:

Namespaces

 syten
 Syten 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...
 

Detailed Description

Implementation for inc/util/threads.h.