Skip to content

Commit

Permalink
Merge branch 'DanielMerget-DanielMerget/fix_atomicAdd' into nikosk/pa…
Browse files Browse the repository at this point in the history
…scal-and-cuda8-fixes
  • Loading branch information
n17s committed Aug 25, 2016
2 parents 002e920 + 58b7186 commit 65dbb7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Math/GPUMatrixCUDAKernels.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 65dbb7a

Please sign in to comment.