Go to the documentation of this file. 1 #ifndef HeterogeneousCore_CUDAUtilities_interface_cudaCompat_h
2 #define HeterogeneousCore_CUDAUtilities_interface_cudaCompat_h
14 #include <cuda_runtime.h>
17 namespace cudacompat {
19 #ifndef __CUDA_RUNTIME_H__
30 template <
typename T1,
typename T2>
38 template <
typename T1,
typename T2>
45 template <
typename T1,
typename T2>
52 template <
typename T1,
typename T2>
58 template <
typename T1,
typename T2>
83 #ifndef __CUDA_RUNTIME_H__
88 #define __forceinline__
94 #define __global__ inline __attribute__((always_inline))
95 #undef __forceinline__
96 #define __forceinline__ inline __attribute__((always_inline))
105 #endif // HeterogeneousCore_CUDAUtilities_interface_cudaCompat_h
ret
prodAgent to be discontinued
T1 atomicSub(T1 *a, T2 b)
thread_local dim3 gridDim
bool __syncthreads_or(bool x)
T1 atomicAdd(T1 *a, T2 b)
T1 atomicMax(T1 *a, T2 b)
T1 atomicMin(T1 *a, T2 b)
bool __syncthreads_and(bool x)
Namespace of DDCMS conversion namespace.
T1 atomicInc(T1 *a, T2 b)
thread_local dim3 blockIdx