imate
C++/CUDA Reference
Loading...
Searching...
No Matches
c_get_config.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool is_use_cblas ()
 Returns USE_CBLAS.
 
bool is_use_mkl ()
 Returns USE_MKL.
 
bool is_use_openmp ()
 Returns USE_OPENMP.
 
bool is_use_loop_unrolling ()
 Returns USE_LOOP_UNROLLING.
 
bool is_use_cuda ()
 Returns USE_CUDA.
 
bool is_cuda_dynamic_loading ()
 Returns CUDA_DYNAMIC_LOADING.
 
bool is_debug_mode ()
 Returns DEBUG_MODE.
 
bool is_cython_build_in_source ()
 Returns CYTHON_BUILD_IN_SOURCE.
 
bool is_cython_build_for_doc ()
 Returns CYTHON_BUILD_FOR_DOC.
 
bool is_use_long_int ()
 Returns USE_LONG_INT.
 
bool is_use_unsigned_long_int ()
 Returns USE_UNSIGNED_LONG_INT.
 

Function Documentation

◆ is_cuda_dynamic_loading()

bool is_cuda_dynamic_loading ( )

Returns CUDA_DYNAMIC_LOADING.

Definition at line 110 of file c_get_config.cpp.

111{
112 #if defined(CUDA_DYNAMIC_LOADING) && (CUDA_DYNAMIC_LOADING == 1)
113 return 1;
114 #else
115 return 0;
116 #endif
117}

◆ is_cython_build_for_doc()

bool is_cython_build_for_doc ( )

Returns CYTHON_BUILD_FOR_DOC.

Definition at line 161 of file c_get_config.cpp.

162{
163 #if defined(CYTHON_BUILD_FOR_DOC) && (CYTHON_BUILD_FOR_DOC == 1)
164 return 1;
165 #else
166 return 0;
167 #endif
168}

◆ is_cython_build_in_source()

bool is_cython_build_in_source ( )

Returns CYTHON_BUILD_IN_SOURCE.

Definition at line 144 of file c_get_config.cpp.

145{
146 #if defined(CYTHON_BUILD_IN_SOURCE) && (CYTHON_BUILD_IN_SOURCE == 1)
147 return 1;
148 #else
149 return 0;
150 #endif
151}

◆ is_debug_mode()

bool is_debug_mode ( )

Returns DEBUG_MODE.

Definition at line 127 of file c_get_config.cpp.

128{
129 #if defined(DEBUG_MODE) && (DEBUG_MODE == 1)
130 return 1;
131 #else
132 return 0;
133 #endif
134}

◆ is_use_cblas()

bool is_use_cblas ( )

Returns USE_CBLAS.

Definition at line 26 of file c_get_config.cpp.

27{
28 #if defined(USE_CBLAS) && (USE_CBLAS == 1)
29 return 1;
30 #else
31 return 0;
32 #endif
33}

◆ is_use_cuda()

bool is_use_cuda ( )

Returns USE_CUDA.

Definition at line 93 of file c_get_config.cpp.

94{
95 #if defined(USE_CUDA) && (USE_CUDA == 1)
96 return 1;
97 #else
98 return 0;
99 #endif
100}

◆ is_use_long_int()

bool is_use_long_int ( )

Returns USE_LONG_INT.

Definition at line 178 of file c_get_config.cpp.

179{
180 #if defined(USE_LONG_INT) && (USE_LONG_INT == 1)
181 return 1;
182 #else
183 return 0;
184 #endif
185}

◆ is_use_loop_unrolling()

bool is_use_loop_unrolling ( )

Returns USE_LOOP_UNROLLING.

Definition at line 76 of file c_get_config.cpp.

77{
78 #if defined(USE_LOOP_UNROLLING) && (USE_LOOP_UNROLLING == 1)
79 return 1;
80 #else
81 return 0;
82 #endif
83}

◆ is_use_mkl()

bool is_use_mkl ( )

Returns USE_MKL.

Definition at line 42 of file c_get_config.cpp.

43{
44 #if defined(USE_MKL) && (USE_MKL == 1)
45 return 1;
46 #else
47 return 0;
48 #endif
49}

◆ is_use_openmp()

bool is_use_openmp ( )

Returns USE_OPENMP.

Definition at line 59 of file c_get_config.cpp.

60{
61 #if defined(USE_OPENMP) && (USE_OPENMP == 1)
62 return 1;
63 #else
64 return 0;
65 #endif
66}

◆ is_use_unsigned_long_int()

bool is_use_unsigned_long_int ( )

Returns USE_UNSIGNED_LONG_INT.

Definition at line 195 of file c_get_config.cpp.

196{
197 #if defined(USE_UNSIGNED_LONG_INT) && (USE_UNSIGNED_LONG_INT == 1)
198 return 1;
199 #else
200 return 0;
201 #endif
202}