From b79869df3db95581c07c344de892d35749daaee7 Mon Sep 17 00:00:00 2001 From: "W. Michael Brown" Date: Wed, 30 Mar 2011 20:07:56 -0400 Subject: [PATCH] Switching pppm to async zero. --- lib/gpu/pppm_gpu_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gpu/pppm_gpu_memory.cpp b/lib/gpu/pppm_gpu_memory.cpp index 49741fb32d..9694149c2e 100644 --- a/lib/gpu/pppm_gpu_memory.cpp +++ b/lib/gpu/pppm_gpu_memory.cpp @@ -276,7 +276,7 @@ void PPPMGPUMemoryT::_precompute(const int ago, const int nlocal, const int nall double delvolinv = delxinv*delyinv*delzinv; grdtyp f_delvolinv = delvolinv; - d_brick_counts.zero(); + device->zero(d_brick_counts,d_brick_counts.numel()); k_particle_map.set_size(GX,BX); k_particle_map.run(&atom->dev_x.begin(), &atom->dev_q.begin(), &f_delvolinv, &ainum, &d_brick_counts.begin(), &d_brick_atoms.begin(),