New interface to program additional Walker fields
Change-Id: Ic4fe3fcea4157fd789fa93f7044972f28d87f499 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
parent
52deab65e0
commit
51f0144cc5
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue