OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
cudify.hpp
1 #ifndef CUDIFY_HPP_
2 #define CUDIFY_HPP_
3 
4 #include "config.h"
5 
6 #define CUDA_BACKEND_NONE 0
7 #define CUDA_BACKEND_CUDA 1
8 #define CUDA_BACKEND_SEQUENTIAL 2
9 #define CUDA_BACKEND_ALPAKA 3
10 #define CUDA_BACKEND_OPENMP 4
11 #define CUDA_BACKEND_HIP 5
12 
13 
14 #if defined(CUDIFY_USE_CUDA)
15 #include "util/cudify/cudify_cuda.hpp"
16 #elif defined(CUDIFY_USE_ALPAKA)
17 #include "cudify_alpaka.hpp"
18 #elif defined(CUDIFY_USE_OPENMP)
19 #include "cudify_openmp.hpp"
20 #elif defined(CUDIFY_USE_HIP)
21 #include "cudify_hip.hpp"
22 #elif defined(CUDIFY_USE_SEQUENTIAL)
23 #include "cudify_sequencial.hpp"
24 #else
25 #define CUDA_ON_BACKEND CUDA_BACKEND_NONE
26 
27 constexpr int default_kernel_wg_threads_ = 1024;
28 
29 static void init_wrappers() {}
30 
31 #endif
32 
33 #endif