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>
37 template <
typename T1,
typename T2>
45 template <
typename T1,
typename T2>
52 template <
typename T1,
typename T2>
59 template <
typename T1,
typename T2>
65 template <
typename T1,
typename T2>
90 #ifndef __CUDA_RUNTIME_H__
95 #define __forceinline__
101 #define __global__ inline __attribute__((always_inline))
102 #undef __forceinline__
103 #define __forceinline__ inline __attribute__((always_inline))
106 #ifndef __CUDA_ARCH__
112 #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 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)
thread_local dim3 blockIdx