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

Go to the source code of this file.

Macros

#define use_openmp   0
 

Typedefs

typedef int omp_lock_t
 

Functions

void omp_init_lock (omp_lock_t *lock)
 
void omp_set_lock (omp_lock_t *lock)
 
void omp_unset_lock (omp_lock_t *lock)
 
int omp_get_max_threads ()
 
int omp_get_thread_num ()
 
void omp_set_num_threads (int num_threads)
 

Macro Definition Documentation

◆ use_openmp

#define use_openmp   0

Definition at line 24 of file conditional_openmp.h.

Typedef Documentation

◆ omp_lock_t

typedef int omp_lock_t

Definition at line 25 of file conditional_openmp.h.

Function Documentation

◆ omp_get_max_threads()

int omp_get_max_threads ( )

Definition at line 53 of file conditional_openmp.cpp.

54 {
55 return 1;
56 }

◆ omp_get_thread_num()

◆ omp_init_lock()

void omp_init_lock ( omp_lock_t lock)

Definition at line 26 of file conditional_openmp.cpp.

27 {
28 (void) lock;
29 }

◆ omp_set_lock()

void omp_set_lock ( omp_lock_t lock)

Definition at line 35 of file conditional_openmp.cpp.

36 {
37 (void) lock;
38 }

◆ omp_set_num_threads()

◆ omp_unset_lock()

void omp_unset_lock ( omp_lock_t lock)

Definition at line 44 of file conditional_openmp.cpp.

45 {
46 (void) lock;
47 }