X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?p=alexxy%2Fgromacs.git;a=blobdiff_plain;f=src%2Fgromacs%2Fewald%2Fpme_gather_sycl.cpp;fp=src%2Fgromacs%2Fewald%2Fpme_gather_sycl.cpp;h=d133daaeeaa5acc4668366aa26bd347f9bd44fca;hp=b03a7804b38e7b608220075f4299ab623b1b48ee;hb=69d9df0fb1f51869e7f266416c1c3dbe637360ac;hpb=d043b17b33a2e6f4e5cfb8ead27ee9a40b27adb8 diff --git a/src/gromacs/ewald/pme_gather_sycl.cpp b/src/gromacs/ewald/pme_gather_sycl.cpp index b03a7804b3..d133daaeea 100644 --- a/src/gromacs/ewald/pme_gather_sycl.cpp +++ b/src/gromacs/ewald/pme_gather_sycl.cpp @@ -284,27 +284,27 @@ auto pmeGatherKernel(cl::sycl::handler& cgh, constexpr int splineParamsSize = atomsPerBlock * DIM * order; constexpr int gridlineIndicesSize = atomsPerBlock * DIM; - cgh.require(a_gridA); - cgh.require(a_coefficientsA); - cgh.require(a_forces); + a_gridA.bind(cgh); + a_coefficientsA.bind(cgh); + a_forces.bind(cgh); if constexpr (numGrids == 2) { - cgh.require(a_gridB); - cgh.require(a_coefficientsB); + a_gridB.bind(cgh); + a_coefficientsB.bind(cgh); } if constexpr (readGlobal) { - cgh.require(a_theta); - cgh.require(a_dtheta); - cgh.require(a_gridlineIndices); + a_theta.bind(cgh); + a_dtheta.bind(cgh); + a_gridlineIndices.bind(cgh); } else { - cgh.require(a_coordinates); - cgh.require(a_fractShiftsTable); - cgh.require(a_gridlineIndicesTable); + a_coordinates.bind(cgh); + a_fractShiftsTable.bind(cgh); + a_gridlineIndicesTable.bind(cgh); } // Gridline indices, ivec