mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
Program private 2 scratch in L0
Related-To: NEO-5427 Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ab4640635d
commit
6940fbf387
@@ -53,6 +53,9 @@ class ScratchSpaceController {
|
||||
inline uint32_t getPerThreadScratchSpaceSize() {
|
||||
return static_cast<uint32_t>(scratchSizeBytes / computeUnitsUsedForScratch);
|
||||
}
|
||||
inline uint32_t getPerThreadPrivateScratchSize() {
|
||||
return static_cast<uint32_t>(privateScratchSizeBytes / computeUnitsUsedForScratch);
|
||||
}
|
||||
|
||||
virtual void reserveHeap(IndirectHeap::Type heapType, IndirectHeap *&indirectHeap) = 0;
|
||||
virtual void programHeaps(HeapContainer &heapContainer,
|
||||
|
||||
Reference in New Issue
Block a user