mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Move BTI programming to shared code
Change-Id: Ie9d67c1d883f24cfec13ea1618d834d746c0d5be Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
493434c8e9
commit
bf32740f97
@@ -7,7 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
#include "shared/source/built_ins/built_ins.h"
|
||||
#include "shared/source/indirect_heap/indirect_heap.h"
|
||||
|
||||
#include "opencl/source/helpers/per_thread_data.h"
|
||||
#include "opencl/source/kernel/kernel.h"
|
||||
@@ -78,10 +77,6 @@ struct HardwareCommandsHelper : public PerThreadDataHelper {
|
||||
WALKER_TYPE<GfxFamily> *walkerCmd,
|
||||
uint32_t &sizeCrossThreadData);
|
||||
|
||||
static size_t pushBindingTableAndSurfaceStates(IndirectHeap &dstHeap, size_t bindingTableCount,
|
||||
const void *srcKernelSsh, size_t srcKernelSshSize,
|
||||
size_t numberOfBindingTableStates, size_t offsetOfBindingTable);
|
||||
|
||||
static size_t sendIndirectState(
|
||||
LinearStream &commandStream,
|
||||
IndirectHeap &dsh,
|
||||
@@ -143,8 +138,6 @@ struct HardwareCommandsHelper : public PerThreadDataHelper {
|
||||
|
||||
static void programCacheFlushAfterWalkerCommand(LinearStream *commandStream, const CommandQueue &commandQueue, const Kernel *kernel, uint64_t postSyncAddress);
|
||||
|
||||
static bool doBindingTablePrefetch();
|
||||
|
||||
static bool inlineDataProgrammingRequired(const Kernel &kernel);
|
||||
static bool kernelUsesLocalIds(const Kernel &kernel);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user