New interface to program additional Walker fields

Change-Id: Ic4fe3fcea4157fd789fa93f7044972f28d87f499
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski 2020-04-14 09:36:39 +02:00 committed by sys_ocldev
parent 52deab65e0
commit 51f0144cc5
2 changed files with 7 additions and 0 deletions

View File

@ -91,6 +91,8 @@ class HardwareInterface {
Vec3<size_t> &numberOfWorkgroups,
Vec3<size_t> &startOfWorkgroups);
static void programAdditionalFieldsForWalker(WALKER_TYPE<GfxFamily> &walkerCmd);
static WALKER_TYPE<GfxFamily> *allocateWalkerSpace(LinearStream &commandStream,
const Kernel &kernel);

View File

@ -138,6 +138,11 @@ inline void HardwareInterface<GfxFamily>::programWalker(
numWorkGroups, localWorkSizes, simd, dim,
false, false,
*kernel.getKernelInfo().patchInfo.threadPayload, 0u);
programAdditionalFieldsForWalker(*walkerCmd);
}
template <typename GfxFamily>
void HardwareInterface<GfxFamily>::programAdditionalFieldsForWalker(WALKER_TYPE<GfxFamily> &walkerCmd) {}
} // namespace NEO