Merge branch 'DanielMerget-DanielMerget/fix_atomicAdd' into nikosk/pascal-and-cuda8-fixes
This commit is contained in:
Коммит
65dbb7a7e5
|
@ -42,7 +42,7 @@
|
|||
|
||||
#define IDX2C(i, j, ld) (((j) * (ld)) + (i)) // 0 based indexing
|
||||
|
||||
// CUDA atomicAdd() only exists for 'float'. This is the 'double' version.
|
||||
// On older GPUs, CUDA atomicAdd() only exists for 'float'. This is the 'double' version.
|
||||
#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ < 600
|
||||
static __inline__ __device__ double atomicAdd(double* address, double val)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче