From 8e716a0a0f0e596c6d9f3f6f9f0af84b5826819e Mon Sep 17 00:00:00 2001 From: brucefan1983 Date: Tue, 7 May 2024 00:06:36 +0800 Subject: [PATCH] remove unused arguments --- src/measure/dump_piston.cu | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/measure/dump_piston.cu b/src/measure/dump_piston.cu index c148790b8..058419029 100644 --- a/src/measure/dump_piston.cu +++ b/src/measure/dump_piston.cu @@ -35,7 +35,6 @@ static __device__ __inline__ double atomicAdd(double* address, double val) static __global__ void gpu_com( int N, - int bins, int avg_window, double* g_mass, double* g_x, @@ -75,7 +74,6 @@ static __global__ void gpu_calc1( static __global__ void gpu_thermo( int N, - int bins, double avg_window, double* g_x, double* g_mass, @@ -231,7 +229,6 @@ void Dump_Piston::process(Atom& atom, Box& box, const int step) // calculate COM velocity first gpu_com<<<(n - 1) / 128 + 1, 128>>>( n, - bins, avg_window, atom.mass.data(), atom.position_per_atom.data() + direction * n, @@ -247,7 +244,6 @@ void Dump_Piston::process(Atom& atom, Box& box, const int step) // get spatial thermo info gpu_thermo<<<(n - 1) / 128 + 1, 128>>>( n, - bins, avg_window, atom.position_per_atom.data() + direction * n, atom.mass.data(),