Remove unused fplog
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 28 Jan 2014 13:24:31 +0000 (14:24 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 28 Jan 2014 13:26:22 +0000 (14:26 +0100)
Keeps gcc 4.8 build happy

Change-Id: I392b02c0950ead04c414dffd6340b364b804b7aa

include/nbnxn_cuda_data_mgmt.h
src/kernel/runner.c
src/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu

index 02af68fa4ea9d610227dba0a4c1a72ca290ae488..99fdfd9ba54a1e73ada95e2b3a39c243bdbf9e94 100644 (file)
@@ -100,8 +100,7 @@ void nbnxn_cuda_clear_outputs(nbnxn_cuda_ptr_t cu_nb,
 
 /*! Frees all GPU resources used for the nonbonded calculations. */
 FUNC_QUALIFIER
-void nbnxn_cuda_free(FILE            *fplog,
-                     nbnxn_cuda_ptr_t cu_nb) FUNC_TERM
+void nbnxn_cuda_free(nbnxn_cuda_ptr_t cu_nb) FUNC_TERM
 
 /*! Returns the GPU timings structure or NULL if GPU is not used or timing is off. */
 FUNC_QUALIFIER
index 392429f33edb34d61ede7012f33708f95fca1b8e..cb817463a532688ed3f0d877e11dd7c0ffebb100 100644 (file)
@@ -978,7 +978,7 @@ static void free_gpu_resources(FILE             *fplog,
     if (bIsPPrankUsingGPU)
     {
         /* free nbnxn data in GPU memory */
-        nbnxn_cuda_free(fplog, fr->nbv->cu_nbv);
+        nbnxn_cuda_free(fr->nbv->cu_nbv);
 
         /* With tMPI we need to wait for all ranks to finish deallocation before
          * destroying the context in free_gpu() as some ranks may be sharing
index 5b84773943dbaa76239a8851a5950bacfadba1a1..087b76092747044f93e51519f8a35f0068b710ea 100644 (file)
@@ -896,7 +896,7 @@ void nbnxn_cuda_init_atomdata(nbnxn_cuda_ptr_t cu_nb,
     }
 }
 
-void nbnxn_cuda_free(FILE *fplog, nbnxn_cuda_ptr_t cu_nb)
+void nbnxn_cuda_free(nbnxn_cuda_ptr_t cu_nb)
 {
     cudaError_t     stat;
     cu_atomdata_t   *atdat;