From: Mark Abraham Date: Tue, 28 Jan 2014 13:24:31 +0000 (+0100) Subject: Remove unused fplog X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=90fb7e86b59e6c7aac5aa7c897fae871a73374c9;p=alexxy%2Fgromacs.git Remove unused fplog Keeps gcc 4.8 build happy Change-Id: I392b02c0950ead04c414dffd6340b364b804b7aa --- diff --git a/include/nbnxn_cuda_data_mgmt.h b/include/nbnxn_cuda_data_mgmt.h index 02af68fa4e..99fdfd9ba5 100644 --- a/include/nbnxn_cuda_data_mgmt.h +++ b/include/nbnxn_cuda_data_mgmt.h @@ -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 diff --git a/src/kernel/runner.c b/src/kernel/runner.c index 392429f33e..cb817463a5 100644 --- a/src/kernel/runner.c +++ b/src/kernel/runner.c @@ -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 diff --git a/src/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu b/src/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu index 5b84773943..087b760927 100644 --- a/src/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu +++ b/src/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu @@ -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;