17#elif defined(__cplusplus)
19#define __GOMP_NOTHROW throw()
22#define __GOMP_NOTHROW __attribute__((__nothrow__))
29inline int omp_get_thread_num() __GOMP_NOTHROW {
return 0; }
30inline int omp_get_num_threads() __GOMP_NOTHROW {
return 1; }
31inline int omp_get_max_threads() __GOMP_NOTHROW {
return 1; }
32inline int omp_get_num_procs() __GOMP_NOTHROW {
return 1; }
33inline void omp_set_num_threads(
int nthread) __GOMP_NOTHROW {}
34inline int omp_in_parallel() __GOMP_NOTHROW {
return 0; }
46typedef unsigned omp_uint;
namespace for dmlc
Definition array_view.h:12
dmlc::omp_ulong omp_ulong
define unsigned long for openmp loop
Definition base.h:322
header to handle OpenMP compatibility issues