From a7ffc61e82770c141538debfb352c989931cf0de Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Wed, 10 Jun 2020 19:58:33 -0400 Subject: [PATCH] acceleratorSIMTlane() --- Grid/lattice/Lattice_transfer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Grid/lattice/Lattice_transfer.h b/Grid/lattice/Lattice_transfer.h index 44d7674f..ad2d07cb 100644 --- a/Grid/lattice/Lattice_transfer.h +++ b/Grid/lattice/Lattice_transfer.h @@ -99,13 +99,13 @@ accelerator_inline void convertType(ComplexF & out, const std::complex & #ifdef GRID_SIMT accelerator_inline void convertType(vComplexF & out, const ComplexF & in) { - ((ComplexF*)&out)[SIMTlane(vComplexF::Nsimd())] = in; + ((ComplexF*)&out)[acceleratorSIMTlane(vComplexF::Nsimd())] = in; } accelerator_inline void convertType(vComplexD & out, const ComplexD & in) { - ((ComplexD*)&out)[SIMTlane(vComplexD::Nsimd())] = in; + ((ComplexD*)&out)[acceleratorSIMTlane(vComplexD::Nsimd())] = in; } accelerator_inline void convertType(vComplexD2 & out, const ComplexD & in) { - ((ComplexD*)&out)[SIMTlane(vComplexD::Nsimd()*2)] = in; + ((ComplexD*)&out)[acceleratorSIMTlane(vComplexD::Nsimd()*2)] = in; } #endif