OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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 "cuda/cudify_cuda.hpp"
16#elif defined(CUDIFY_USE_ALPAKA)
17#include "alpaka/cudify_alpaka.hpp"
18#elif defined(CUDIFY_USE_OPENMP)
19#include "openmp/cudify_openmp.hpp"
20#elif defined(CUDIFY_USE_HIP)
21#include "hip/cudify_hip.hpp"
22#elif defined(CUDIFY_USE_SEQUENTIAL)
23#include "sequential/cudify_sequential.hpp"
24#else
25#define CUDA_ON_BACKEND CUDA_BACKEND_NONE
26
27constexpr int default_kernel_wg_threads_ = 1024;
28
29static void init_wrappers() {}
30
31#endif
32
33#endif