diff --git a/src/KOKKOS/compute_gaussian_grid_local_kokkos.cpp b/src/KOKKOS/compute_gaussian_grid_local_kokkos.cpp index 55e5b599e7..a52d747922 100644 --- a/src/KOKKOS/compute_gaussian_grid_local_kokkos.cpp +++ b/src/KOKKOS/compute_gaussian_grid_local_kokkos.cpp @@ -109,14 +109,14 @@ ComputeGaussianGridLocalKokkos::ComputeGaussianGridLocalKokkos(LAMMP template ComputeGaussianGridLocalKokkos::~ComputeGaussianGridLocalKokkos() { - printf(">>> ComputeGaussianGridLocalKokkos destruct begin, copymode %d\n", copymode); + //printf(">>> ComputeGaussianGridLocalKokkos destruct begin, copymode %d\n", copymode); if (copymode) return; memoryKK->destroy_kokkos(k_cutsq,cutsq); memoryKK->destroy_kokkos(k_alocal,alocal); //gridlocal_allocated = 0; - printf(">>> ComputeGaussianGridLocalKokkos end\n"); + //printf(">>> ComputeGaussianGridLocalKokkos end\n"); } /* ---------------------------------------------------------------------- */ @@ -133,7 +133,7 @@ void ComputeGaussianGridLocalKokkos::setup() ComputeGridLocal::setup(); // allocate arrays - printf(">>> rows cols kokkos init: %d %d\n", size_local_rows, size_local_cols); + //printf(">>> rows cols kokkos init: %d %d\n", size_local_rows, size_local_cols); memoryKK->create_kokkos(k_alocal, alocal, size_local_rows, size_local_cols, "grid:alocal"); //gridlocal_allocated = 1; @@ -160,7 +160,7 @@ void ComputeGaussianGridLocalKokkos::init() template void ComputeGaussianGridLocalKokkos::compute_local() { - printf(">>> compute_local Kokkos begin\n"); + //printf(">>> compute_local Kokkos begin\n"); if (host_flag) { return; @@ -193,7 +193,7 @@ void ComputeGaussianGridLocalKokkos::compute_local() // "chunksize" variable is default 32768 in compute_sna_grid.cpp, and set by user // `total_range` is the number of grid points which may be larger than chunk size. //printf(">>> total_range: %d\n", total_range); - chunksize = 10*32768; // 100*32768 + chunksize = 32768; // 100*32768 chunk_size = MIN(chunksize, total_range); chunk_offset = 0; @@ -244,7 +244,7 @@ void ComputeGaussianGridLocalKokkos::compute_local() k_alocal.template modify(); k_alocal.template sync(); - printf(">>> k_alocal: %f\n", k_alocal.h_view(0,6)); + //printf(">>> k_alocal: %f\n", k_alocal.h_view(0,6)); } diff --git a/src/ML-SNAP/compute_gaussian_grid_local.cpp b/src/ML-SNAP/compute_gaussian_grid_local.cpp index c660a16cee..c18aa31d05 100644 --- a/src/ML-SNAP/compute_gaussian_grid_local.cpp +++ b/src/ML-SNAP/compute_gaussian_grid_local.cpp @@ -113,8 +113,8 @@ void ComputeGaussianGridLocal::init() void ComputeGaussianGridLocal::compute_local() { - printf(">>> compute_local CPU\n"); - printf(">>> size_local_cols_base, size_local_cols: %d %d\n", size_local_cols_base, size_local_cols); + //printf(">>> compute_local CPU\n"); + //printf(">>> size_local_cols_base, size_local_cols: %d %d\n", size_local_cols_base, size_local_cols); invoked_local = update->ntimestep; // compute gaussian for each gridpoint diff --git a/src/ML-SNAP/compute_grid_local.cpp b/src/ML-SNAP/compute_grid_local.cpp index 5dd8185ae7..6065f38171 100644 --- a/src/ML-SNAP/compute_grid_local.cpp +++ b/src/ML-SNAP/compute_grid_local.cpp @@ -61,16 +61,16 @@ ComputeGridLocal::ComputeGridLocal(LAMMPS *lmp, int narg, char **arg) : ComputeGridLocal::~ComputeGridLocal() { - printf(">>> ComputeGridLocal begin destruct\n"); + //printf(">>> ComputeGridLocal begin destruct\n"); deallocate(); - printf(">>> ComputeGridLocal end destruct\n"); + //printf(">>> ComputeGridLocal end destruct\n"); } /* ---------------------------------------------------------------------- */ void ComputeGridLocal::setup() { - printf(">>> ComputeGridLocal setup\n"); + //printf(">>> ComputeGridLocal setup\n"); deallocate(); set_grid_global(); set_grid_local(); @@ -109,7 +109,7 @@ void ComputeGridLocal::grid2lamda(int ix, int iy, int iz, double *x) void ComputeGridLocal::allocate() { - printf(">>> ComputeGridLocal::allocate %d %d\n", size_local_rows, size_local_cols); + //printf(">>> ComputeGridLocal::allocate %d %d\n", size_local_rows, size_local_cols); if (nxlo <= nxhi && nylo <= nyhi && nzlo <= nzhi) { gridlocal_allocated = 1; memory->create(alocal, size_local_rows, size_local_cols, "compute/grid/local:alocal");