High Performance Plasticity
0.5.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
config.h
Go to the documentation of this file.
1
// Configuration-dependent defines //
4
5
// GPU APIs
6
#define HPP_USE_CUDA
7
8
// CPU instructions
9
/* #undef HPP_USE_SSE */
10
/* #undef HPP_USE_SSE2 */
11
/* #undef HPP_USE_SSE3 */
12
/* #undef HPP_USE_SSE4_1 */
13
/* #undef HPP_USE_AVX */
14
/* #undef HPP_USE_AVX2 */
15
16
// Available standard library functions
17
#define HPP_HAVE_ALIGNED_ALLOC
18
19
// Building Python interface
20
#define HPP_BUILD_PYTHON
21
23
// Hard-coded defines //
25
#define HPP_ARRAY_LAYOUT LAPACK_ROW_MAJOR
26
28
// Dependent defines //
30
31
#ifdef DEBUG_BUILD
32
#define DEBUG_ONLY(x) x
33
#else
34
#define DEBUG_ONLY(x)
35
#endif
36
37
#ifdef __CUDACC__
38
#define HPP_NVCC_ONLY(x) x
39
#else
40
#define HPP_NVCC_ONLY(x)
41
#endif
42
43
#ifdef HPP_USE_CUDA
44
#define HPP_CHECK_CUDA_ENABLED_BUILD
45
#else
46
#define HPP_CHECK_CUDA_ENABLED_BUILD #error This file should not be included unless CUDA is enabled.
47
#endif
include
hpp
config.h
Generated by
1.8.11