1 | #include "config.h" |
---|---|
2 | #include "mem_conf.hpp" |
3 | |
4 | size_t openfpm_ofpmmemory_compilation_mask() |
5 | { |
6 | size_t compiler_mask = 0; |
7 | |
8 | #ifdef CUDA_ON_CPU |
9 | compiler_mask |= 0x1; |
10 | #endif |
11 | |
12 | #ifdef CUDA_GPU |
13 | compiler_mask |= 0x04; |
14 | #endif |
15 | |
16 | return compiler_mask; |
17 | } |