batmat
0.0.14
Batched linear algebra routines
Loading...
Searching...
No Matches
openmp.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <batmat/config.hpp>
4
#include <guanaqo/stringify.h>
5
6
#if BATMAT_WITH_OPENMP
7
#include <omp.h>
8
#define BATMAT_OMP(X) _Pragma(GUANAQO_STRINGIFY(omp X))
9
#define BATMAT_OMP_IF_ELSE(X, Y) X
10
#define BATMAT_OMP_IF(X) X
11
#else
12
#define BATMAT_OMP(X)
13
#define BATMAT_OMP_IF_ELSE(X, Y) Y
14
#define BATMAT_OMP_IF(X) \
15
do { \
16
} while (0)
17
#endif
batmat
include
batmat
openmp.h
Generated on
for batmat by
1.16.1