Add method adjustInterfaceDescriptorData in InterfaceDescriptorData

Change-Id: Ia911c718aabaa22b3d1b226209d76ef58c94f203
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
Cencelewska
2019-10-30 10:23:26 +01:00
committed by sys_ocldev
parent 2ece96d8c7
commit 2131378c4c
3 changed files with 4 additions and 0 deletions

View File

@@ -210,6 +210,7 @@ struct HardwareCommandsHelper : public PerThreadDataHelper {
static void programMiAtomic(MI_ATOMIC &atomic, uint64_t writeAddress, typename MI_ATOMIC::ATOMIC_OPCODES opcode, typename MI_ATOMIC::DATA_SIZE dataSize);
static void programCacheFlushAfterWalkerCommand(LinearStream *commandStream, const CommandQueue &commandQueue, const Kernel *kernel, uint64_t postSyncAddress);
static void programBarrierEnable(INTERFACE_DESCRIPTOR_DATA *pInterfaceDescriptor, uint32_t value, const HardwareInfo &hwInfo);
static void adjustInterfaceDescriptorData(INTERFACE_DESCRIPTOR_DATA *pInterfaceDescriptor, const HardwareInfo &hwInfo);
static const size_t alignInterfaceDescriptorData = 64 * sizeof(uint8_t);
static const uint32_t alignIndirectStatePointer = 64 * sizeof(uint8_t);

View File

@@ -167,6 +167,7 @@ size_t HardwareCommandsHelper<GfxFamily>::sendInterfaceDescriptorData(
kernel.getDevice().getHardwareInfo());
PreemptionHelper::programInterfaceDescriptorDataPreemption<GfxFamily>(pInterfaceDescriptor, preemptionMode);
HardwareCommandsHelper<GfxFamily>::adjustInterfaceDescriptorData(pInterfaceDescriptor, kernel.getDevice().getHardwareInfo());
pInterfaceDescriptor->setBindingTableEntryCount(bindingTablePrefetchSize);

View File

@@ -185,4 +185,6 @@ void HardwareCommandsHelper<GfxFamily>::programBarrierEnable(INTERFACE_DESCRIPTO
pInterfaceDescriptor->setBarrierEnable(value);
}
template <typename GfxFamily>
void HardwareCommandsHelper<GfxFamily>::adjustInterfaceDescriptorData(INTERFACE_DESCRIPTOR_DATA *pInterfaceDescriptor, const HardwareInfo &hwInfo) {}
} // namespace NEO