Remove Kernel arg from HardwareCommandsHelper

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-03-26 14:32:49 +00:00
committed by Compute-Runtime-Automation
parent 0b7d2da162
commit e04c5b361a
7 changed files with 10 additions and 10 deletions

View File

@@ -116,7 +116,7 @@ struct HardwareCommandsHelper : public PerThreadDataHelper {
inline static bool resetBindingTablePrefetch(Kernel &kernel);
static size_t getSizeRequiredCS(const Kernel *kernel);
static size_t getSizeRequiredCS();
static size_t getSizeRequiredForCacheFlush(const CommandQueue &commandQueue, const Kernel *kernel, uint64_t postSyncAddress);
static size_t getSizeRequiredDSH(

View File

@@ -46,7 +46,7 @@ uint32_t HardwareCommandsHelper<GfxFamily>::additionalSizeRequiredDsh() {
}
template <typename GfxFamily>
size_t HardwareCommandsHelper<GfxFamily>::getSizeRequiredCS(const Kernel *kernel) {
size_t HardwareCommandsHelper<GfxFamily>::getSizeRequiredCS() {
size_t size = 2 * sizeof(typename GfxFamily::MEDIA_STATE_FLUSH) +
sizeof(typename GfxFamily::MEDIA_INTERFACE_DESCRIPTOR_LOAD);
return size;