mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
[12/n] Internal 4GB allocator
- allocate graphics allocation for sip. Change-Id: I18f12251d3ce812d53cc1c8c78079a9ba3fd3b3d
This commit is contained in:

committed by
sys_ocldev

parent
3f5a56ac1c
commit
38c352d044
@ -41,9 +41,9 @@ class PreemptionHelper {
|
||||
static bool allowMidThreadPreemption(Kernel *kernel, Device &device);
|
||||
static void adjustDefaultPreemptionMode(RuntimeCapabilityTable &deviceCapabilities, bool allowMidThread, bool allowThreadGroup, bool allowMidBatch);
|
||||
|
||||
static size_t getInstructionHeapSipKernelReservedSize(const Device &device);
|
||||
static void initializeInstructionHeapSipKernelReservedBlock(LinearStream &ih, const Device &device);
|
||||
static bool isValidInstructionHeapForMidThreadPreemption(const LinearStream &ih, const Device &device);
|
||||
static size_t getInstructionHeapSipKernelReservedSize(Device &device);
|
||||
static void initializeInstructionHeapSipKernelReservedBlock(LinearStream &ih, Device &device);
|
||||
static bool isValidInstructionHeapForMidThreadPreemption(const LinearStream &ih, Device &device);
|
||||
|
||||
template <typename GfxFamily>
|
||||
static size_t getRequiredPreambleSize(const Device &device);
|
||||
@ -56,7 +56,7 @@ class PreemptionHelper {
|
||||
|
||||
template <typename GfxFamily>
|
||||
static void programCmdStream(LinearStream &cmdStream, PreemptionMode newPreemptionMode, PreemptionMode oldPreemptionMode,
|
||||
GraphicsAllocation *preemptionCsr, const LinearStream &ih, const Device &device);
|
||||
GraphicsAllocation *preemptionCsr, const LinearStream &ih, Device &device);
|
||||
|
||||
template <typename GfxFamily>
|
||||
static size_t getPreemptionWaCsSize(const Device &device);
|
||||
|
Reference in New Issue
Block a user