Go to the documentation of this file. 1 #ifndef HeterogeneousCore_CUDAUtilities_interface_cudaCompat_h
2 #define HeterogeneousCore_CUDAUtilities_interface_cudaCompat_h
15 #include <cuda_runtime.h>
19 #define __global__ inline __attribute__((always_inline))
21 #undef __forceinline__
22 #define __forceinline__ inline __attribute__((always_inline))
25 namespace cudacompat {
35 template <
typename T1,
typename T2>
42 template <
typename T1,
typename T2>
50 template <
typename T1,
typename T2>
57 template <
typename T1,
typename T2>
64 template <
typename T1,
typename T2>
70 template <
typename T1,
typename T2>
94 #endif // HeterogeneousCore_CUDAUtilities_interface_cudaCompat_h
ret
prodAgent to be discontinued
T1 atomicSub(T1 *a, T2 b)
bool __syncthreads_or(bool x)
T1 atomicAdd(T1 *a, T2 b)
T1 atomicMax(T1 *a, T2 b)
T1 atomicCAS(T1 *address, T1 compare, T2 val)
T1 atomicMin(T1 *a, T2 b)
bool __syncthreads_and(bool x)
Namespace of DDCMS conversion namespace.
T1 atomicInc(T1 *a, T2 b)