Stride Reference Manual
1.0
Main Page
Namespaces
Classes
Files
File List
File Members
pick_choices.h
Go to the documentation of this file.
1
#pragma once
2
3
#define UNIPAR_DUMMY 1
4
#define UNIPAR_TBB 2
5
#define UNIPAR_OPENMP 3
6
7
8
// Sometimes, it's more useful to work with existence of defines rather than their values
9
10
#ifdef UNIPAR_IMPL_DUMMY
11
#define UNIPAR_IMPL UNIPAR_DUMMY
12
#else
13
#ifdef UNIPAR_IMPL_TBB
14
#define UNIPAR_IMPL UNIPAR_TBB
15
#else
16
#ifdef UNIPAR_IMPL_OPENMP
17
#define UNIPAR_IMPL UNIPAR_OPENMP
18
#endif
19
#endif
20
#endif
21
22
23
// However, we like to maintain only one way of configuration, so past this point you
24
// can no longer use them.
25
26
#undef UNIPAR_IMPL_DUMMY
27
#undef UNIPAR_IMPL_OPENMP
28
#undef UNIPAR_IMPL_TBB
main
cpp
util
unipar
pick_choices.h
Generated on Tue Jun 27 2017 15:38:18 for Stride Reference Manual by
1.8.11