API Documentation
Loading...
Searching...
No Matches
OpenMP.hpp
Go to the documentation of this file.
1#pragma once
2namespace NDEVR
3{
4 class OpenMP
5 {};
6}
7#ifdef _WIN32
8#define NDEVR_USE_OPEN_MP 1
9#else
10#define NDEVR_USE_OPEN_MP 0
11#endif
12#if NDEVR_USE_OPEN_MP
13#define _parallel_for __pragma(omp parallel for) \
14 for
15#define _parallel_for_if(if_statement, for_a, for_b, for_c) __pragma(omp parallel for if(if_statement)) \
16 for(for_a, for_b, for_c)
17#else
18#define _parallel_for for
19#endif
Definition OpenMP.hpp:5
Definition ACIColor.h:37