X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?p=alexxy%2Fgromacs.git;a=blobdiff_plain;f=src%2Fgromacs%2Fnbnxm%2Fsycl%2Fnbnxm_sycl_kernel.cpp;fp=src%2Fgromacs%2Fnbnxm%2Fsycl%2Fnbnxm_sycl_kernel.cpp;h=a7b2c6cde6b080ac4946855703037d4209aab454;hp=ea5321645d826439d21e1e0689b432c5f04caedc;hb=69d9df0fb1f51869e7f266416c1c3dbe637360ac;hpb=d043b17b33a2e6f4e5cfb8ead27ee9a40b27adb8 diff --git a/src/gromacs/nbnxm/sycl/nbnxm_sycl_kernel.cpp b/src/gromacs/nbnxm/sycl/nbnxm_sycl_kernel.cpp index ea5321645d..a7b2c6cde6 100644 --- a/src/gromacs/nbnxm/sycl/nbnxm_sycl_kernel.cpp +++ b/src/gromacs/nbnxm/sycl/nbnxm_sycl_kernel.cpp @@ -583,34 +583,34 @@ auto nbnxmKernel(cl::sycl::handler& cgh, { static constexpr EnergyFunctionProperties props; - cgh.require(a_xq); - cgh.require(a_f); - cgh.require(a_shiftVec); - cgh.require(a_fShift); + a_xq.bind(cgh); + a_f.bind(cgh); + a_shiftVec.bind(cgh); + a_fShift.bind(cgh); if constexpr (doCalcEnergies) { - cgh.require(a_energyElec); - cgh.require(a_energyVdw); + a_energyElec.bind(cgh); + a_energyVdw.bind(cgh); } - cgh.require(a_plistCJ4); - cgh.require(a_plistSci); - cgh.require(a_plistExcl); + a_plistCJ4.bind(cgh); + a_plistSci.bind(cgh); + a_plistExcl.bind(cgh); if constexpr (!props.vdwComb) { - cgh.require(a_atomTypes); - cgh.require(a_nbfp); + a_atomTypes.bind(cgh); + a_nbfp.bind(cgh); } else { - cgh.require(a_ljComb); + a_ljComb.bind(cgh); } if constexpr (props.vdwEwald) { - cgh.require(a_nbfpComb); + a_nbfpComb.bind(cgh); } if constexpr (props.elecEwaldTab) { - cgh.require(a_coulombTab); + a_coulombTab.bind(cgh); } // shmem buffer for i x+q pre-loading