mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 10:26:29 +08:00
Remove Kernel arg from HardwareCommandsHelper
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0b7d2da162
commit
e04c5b361a
@@ -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(
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user