/*
    -- MAGMA (version 2.3.0) --
       Univ. of Tennessee, Knoxville
       Univ. of California, Berkeley
       Univ. of Colorado, Denver
       @date November 2017

       @author Azzam Haidar
*/

/** \file magma_threadsetting.h
 *
 *  \brief Internal MAGMA file which is missing in the standard installation.
 */

#ifndef MAGMA_THREADSETTING_H
#define MAGMA_THREADSETTING_H

#ifdef __cplusplus
extern "C" {
#endif

// =============================================================================
// Internal routines

void magma_set_omp_numthreads(magma_int_t numthreads);
void magma_set_lapack_numthreads(magma_int_t numthreads);
magma_int_t magma_get_lapack_numthreads();
magma_int_t magma_get_parallel_numthreads();
magma_int_t magma_get_omp_numthreads();

#ifdef __cplusplus
}
#endif

#endif  // MAGMA_THREADSETTING_H
