Move setGrfInfo from HardwareCommandsHelper to EncodeDispatchKernel

unify grf info programming across APIs

Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-01-20 11:23:30 +00:00
committed by Compute-Runtime-Automation
parent 27c43b27f3
commit fbc0666d1b
7 changed files with 30 additions and 37 deletions

View File

@@ -36,12 +36,6 @@ struct HardwareCommandsHelper : public PerThreadDataHelper {
uint64_t offsetInterfaceDescriptor,
INTERFACE_DESCRIPTOR_DATA *inlineInterfaceDescriptor);
static void setGrfInfo(
INTERFACE_DESCRIPTOR_DATA *pInterfaceDescriptor,
const Kernel &kernel,
const size_t &sizeCrossThreadData,
const size_t &sizePerThreadData);
inline static uint32_t additionalSizeRequiredDsh();
static size_t sendInterfaceDescriptorData(