Skip to content

Commit

Permalink
Improve GPU performance especially without electrostatics
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchwiebert committed Sep 14, 2020
1 parent 4e3d059 commit a6ad643
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/GPU/CalculateEnergyCUDAKernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,6 @@ void CallBoxInterGPU(VariablesCUDA *vars,
CubDebugExit(CUMALLOC(&d_temp_storage, temp_storage_bytes));
DeviceReduce::Sum(d_temp_storage, temp_storage_bytes, gpu_REn,
gpu_final_REn, energyVectorLen);
// CUFREE(d_temp_storage);

// d_temp_storage = NULL;
// temp_storage_bytes = 0;
// DeviceReduce::Sum(d_temp_storage, temp_storage_bytes, gpu_LJEn,
// gpu_final_LJEn, energyVectorLen);
// CubDebugExit(CUMALLOC(&d_temp_storage, temp_storage_bytes));
// LJ ReduceSum
DeviceReduce::Sum(d_temp_storage, temp_storage_bytes, gpu_LJEn,
gpu_final_LJEn, energyVectorLen);
Expand Down

0 comments on commit a6ad643

Please sign in to comment.