diff options
author | 2018-10-26 10:48:23 -0700 | |
---|---|---|
committer | 2018-10-26 10:48:23 -0700 | |
commit | f14a9bb95b2b9f7bb71b06daf7ce7e4ad1ff0c7c (patch) | |
tree | 78f1cc8ae3ed551d4b3dd76b72e589d42561eb46 /Source/WarpXMove.cpp | |
parent | 8642045c0f27a087430a0a1083db7fb678e8fe2a (diff) | |
download | WarpX-f14a9bb95b2b9f7bb71b06daf7ce7e4ad1ff0c7c.tar.gz WarpX-f14a9bb95b2b9f7bb71b06daf7ce7e4ad1ff0c7c.tar.zst WarpX-f14a9bb95b2b9f7bb71b06daf7ce7e4ad1ff0c7c.zip |
update according to amrex changes
Diffstat (limited to 'Source/WarpXMove.cpp')
-rw-r--r-- | Source/WarpXMove.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WarpXMove.cpp b/Source/WarpXMove.cpp index 2082130ef..c4eb2300d 100644 --- a/Source/WarpXMove.cpp +++ b/Source/WarpXMove.cpp @@ -224,7 +224,7 @@ WarpX::shiftMF (MultiFab& mf, const Geometry& geom, int num_shift, int dir) FArrayBox* srcfab = &(tmpmf[mfi]); Box outbox = mfi.fabbox(); outbox &= adjBox; - AMREX_CUDA_LAUNCH_HOST_DEVICE_LAMBDA(outbox, toutbox, + AMREX_GPU_LAUNCH_HOST_DEVICE_LAMBDA(outbox, toutbox, { srcfab->setVal(0.0, toutbox, 0, nc); }); @@ -234,7 +234,7 @@ WarpX::shiftMF (MultiFab& mf, const Geometry& geom, int num_shift, int dir) } else { dstBox.growLo(dir, num_shift); } - AMREX_CUDA_LAUNCH_HOST_DEVICE_LAMBDA(dstBox, tdstBox, + AMREX_GPU_LAUNCH_HOST_DEVICE_LAMBDA(dstBox, tdstBox, { dstfab->setVal(0.0, tdstBox, 0, nc); dstfab->copy(*srcfab, amrex::shift(tdstBox,dir,num_shift), 0, tdstBox, 0, nc); |