AutoPas  3.0.0
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
WrapOpenMP.h File Reference
#include "ExceptionHandler.h"
Include dependency graph for WrapOpenMP.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  autopas::AutoPasLock
 AutoPasLock for the sequential case. More...
 

Namespaces

namespace  autopas
 This is the main namespace of AutoPas.
 

Macros

#define AUTOPAS_OPENMP(args)
 Empty macro to throw away any arguments.
 

Functions

int autopas::autopas_get_thread_num ()
 Dummy for omp_set_lock() when no OpenMP is available.
 
int autopas::autopas_get_num_threads ()
 Dummy for omp_get_num_threads() when no OpenMP is available.
 
int autopas::autopas_get_max_threads ()
 Dummy for omp_get_max_threads() when no OpenMP is available.
 
void autopas::autopas_set_num_threads (int)
 Wrapper for omp_set_num_threads().
 

Detailed Description

Author
F. Gratl
Date
4/20/18

Provide non-OpenMP versions of the most common OpenMP function calls, so that they don't have to be wrapped in ifdef-s every time.

Proper wrapper and renaming necessary, because of -fopenmp-simd handling of gcc.

Extend when necessary.