Skip to content

Commit d731b5c

Browse files
author
Catherine Buck
committed
fixup! Adding kernel push
1 parent 9ca0e11 commit d731b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/recon_buildblock/SPECTGPU_projector/SPECTGPURotateAndGaussianInterpolate.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ __global__ void rotateKernel_push(const float* __restrict__ in_im,
227227

228228
// Pushing the weighted counts to NN
229229
float g = expf(-1. * ((delta_x*delta_x) + (delta_y*delta_y) + (delta_z*delta_z)) / (2*sigma*sigma));
230-
atomic_add(&out_im[i_idx], in_im[idx]*g/G);
230+
atomicAdd(&out_im[i_idx], in_im[idx]*g/G);
231231

232232
};
233233
};

0 commit comments

Comments
 (0)