8.0
general documentation
cs_cuda_contrib.h File Reference

Go to the source code of this file.

Functions

template<class T >
__device__ __forceinline__ T warpReduceSum (unsigned int mask, T mySum)
 
__device__ unsigned long long int atomicCAS (unsigned long long int *address, unsigned long long int compare, unsigned long long int val)
 
__device__ double atomicAddDouble (double *address, double val)
 

Function Documentation

◆ atomicAddDouble()

__device__ double atomicAddDouble ( double *  address,
double  val 
)

◆ atomicCAS()

__device__ unsigned long long int atomicCAS ( unsigned long long int *  address,
unsigned long long int  compare,
unsigned long long int  val 
)

◆ warpReduceSum()

__device__ __forceinline__ T warpReduceSum ( unsigned int  mask,
mySum 
)