From a6ad6431039dec7391f690f88497e0126b4ebd50 Mon Sep 17 00:00:00 2001 From: LSchwiebert Date: Mon, 14 Sep 2020 12:22:29 -0400 Subject: [PATCH] Improve GPU performance especially without electrostatics --- src/GPU/CalculateEnergyCUDAKernel.cu | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/GPU/CalculateEnergyCUDAKernel.cu b/src/GPU/CalculateEnergyCUDAKernel.cu index 43347ced6..905fdbfce 100644 --- a/src/GPU/CalculateEnergyCUDAKernel.cu +++ b/src/GPU/CalculateEnergyCUDAKernel.cu @@ -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);