aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/Sorting
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-09-26 11:24:45 -0700
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-10-01 16:32:38 -0700
commita8a9bc61f495c260861ca2f39d342893ff4027cf (patch)
treeed25dac17e2c01aa32f7cd91fa49528b285d2e0a /Source/Particles/Sorting
parentc1823aacc5a957181cc3ad075c8718c3666d8406 (diff)
downloadWarpX-a8a9bc61f495c260861ca2f39d342893ff4027cf.tar.gz
WarpX-a8a9bc61f495c260861ca2f39d342893ff4027cf.tar.zst
WarpX-a8a9bc61f495c260861ca2f39d342893ff4027cf.zip
Correct namespace
Diffstat (limited to 'Source/Particles/Sorting')
-rw-r--r--Source/Particles/Sorting/SortingUtils.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/Sorting/SortingUtils.H b/Source/Particles/Sorting/SortingUtils.H
index 80fc4aab6..76c143b09 100644
--- a/Source/Particles/Sorting/SortingUtils.H
+++ b/Source/Particles/Sorting/SortingUtils.H
@@ -27,7 +27,7 @@ ForwardIterator stablePartition(ForwardIterator index_begin,
// On GPU: Use thrust
int* AMREX_RESTRICT predicate_ptr = predicate.dataPtr();
ForwardIterator sep = thrust::stable_partition(
- thrust::cuda::par(Cuda::The_ThrustCachedAllocator()),
+ thrust::cuda::par(amrex::Cuda::The_ThrustCachedAllocator()),
index_begin, index_end,
[predicate_ptr] AMREX_GPU_DEVICE (long i) { return predicate_ptr[i]; }
);