Skip to content

Commit

Permalink
remove unused arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
brucefan1983 committed May 6, 2024
1 parent 4811edb commit 8e716a0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/measure/dump_piston.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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(),
Expand Down

0 comments on commit 8e716a0

Please sign in to comment.