Skip to content

Commit

Permalink
Tweak BoxReciprocalSums settings for slightly better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchwiebert committed Jul 15, 2024
1 parent 33e18ff commit 44cedc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GPU/CalculateEwaldCUDAKernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ __global__ void BoxReciprocalSumsGPU(double *gpu_x, double *gpu_y,
return;
__syncthreads();

#pragma unroll 32
#pragma unroll 16
for (int particleID = 0; particleID < numberOfAtoms; particleID++) {
double dot = DotProductGPU(gpu_kx[imageID], gpu_ky[imageID],
gpu_kz[imageID], shared_coords[particleID * 3],
Expand Down

0 comments on commit 44cedc1

Please sign in to comment.