SIRIUS 7.5.0
Electronic structure library and applications
magma_threadsetting.h
Go to the documentation of this file.
1/*
2 -- MAGMA (version 2.3.0) --
3 Univ. of Tennessee, Knoxville
4 Univ. of California, Berkeley
5 Univ. of Colorado, Denver
6 @date November 2017
7
8 @author Azzam Haidar
9*/
10
11/** \file magma_threadsetting.h
12 *
13 * \brief Internal MAGMA file which is missing in the standard installation.
14 */
15
16#ifndef MAGMA_THREADSETTING_H
17#define MAGMA_THREADSETTING_H
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23// =============================================================================
24// Internal routines
25
26void magma_set_omp_numthreads(magma_int_t numthreads);
27void magma_set_lapack_numthreads(magma_int_t numthreads);
28magma_int_t magma_get_lapack_numthreads();
29magma_int_t magma_get_parallel_numthreads();
30magma_int_t magma_get_omp_numthreads();
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif // MAGMA_THREADSETTING_H