From d66a9af6a30379f2e99137879dff8653ce68ab7a Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Fri, 4 Apr 2025 16:44:12 -0400 Subject: [PATCH] No compile fix --- Grid/lattice/Lattice_slicesum_core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grid/lattice/Lattice_slicesum_core.h b/Grid/lattice/Lattice_slicesum_core.h index e15055a6..5d29e64f 100644 --- a/Grid/lattice/Lattice_slicesum_core.h +++ b/Grid/lattice/Lattice_slicesum_core.h @@ -55,7 +55,7 @@ inline void sliceSumReduction_cub_small(const vobj *Data, d_offsets = static_cast(acceleratorAllocDevice((rd+1)*sizeof(int))); //copy offsets to device - acceleratorCopyToDeviceAsync(&offsets[0],d_offsets,sizeof(int)*(rd+1),computeStream); + acceleratorCopyToDeviceAsynch(&offsets[0],d_offsets,sizeof(int)*(rd+1),computeStream); gpuError_t gpuErr = gpucub::DeviceSegmentedReduce::Reduce(temp_storage_array, temp_storage_bytes, rb_p,d_out, rd, d_offsets, d_offsets+1, ::gpucub::Sum(), zero_init, computeStream); @@ -88,7 +88,7 @@ inline void sliceSumReduction_cub_small(const vobj *Data, exit(EXIT_FAILURE); } - acceleratorCopyFromDeviceAsync(d_out,&lvSum[0],rd*sizeof(vobj),computeStream); + acceleratorCopyFromDeviceAsynch(d_out,&lvSum[0],rd*sizeof(vobj),computeStream); //sync after copy accelerator_barrier();