mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Rename function name to avoid confusion.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e2132de30e
commit
ef7c1c22cb
@@ -85,9 +85,9 @@ void ScratchSpaceControllerXeHPAndLater::programSurfaceStateAtPtr(void *surfaceS
|
||||
if (scratchAllocation) {
|
||||
scratchAllocationAddress = scratchAllocation->getGpuAddress();
|
||||
}
|
||||
hwHelper.setRenderSurfaceStateForBuffer(*executionEnvironment.rootDeviceEnvironments[rootDeviceIndex],
|
||||
surfaceStateForScratchAllocation, computeUnitsUsedForScratch, scratchAllocationAddress, 0,
|
||||
perThreadScratchSize, nullptr, false, scratchType, false, true);
|
||||
hwHelper.setRenderSurfaceStateForScratchResource(*executionEnvironment.rootDeviceEnvironments[rootDeviceIndex],
|
||||
surfaceStateForScratchAllocation, computeUnitsUsedForScratch, scratchAllocationAddress, 0,
|
||||
perThreadScratchSize, nullptr, false, scratchType, false, true);
|
||||
|
||||
if (privateScratchSpaceSupported) {
|
||||
void *surfaceStateForPrivateScratchAllocation = ptrOffset(surfaceStateForScratchAllocation, singleSurfaceStateSize);
|
||||
@@ -96,10 +96,10 @@ void ScratchSpaceControllerXeHPAndLater::programSurfaceStateAtPtr(void *surfaceS
|
||||
if (privateScratchAllocation) {
|
||||
privateScratchAllocationAddress = privateScratchAllocation->getGpuAddress();
|
||||
}
|
||||
hwHelper.setRenderSurfaceStateForBuffer(*executionEnvironment.rootDeviceEnvironments[rootDeviceIndex],
|
||||
surfaceStateForPrivateScratchAllocation, computeUnitsUsedForScratch,
|
||||
privateScratchAllocationAddress, 0, perThreadPrivateScratchSize, nullptr, false,
|
||||
scratchType, false, true);
|
||||
hwHelper.setRenderSurfaceStateForScratchResource(*executionEnvironment.rootDeviceEnvironments[rootDeviceIndex],
|
||||
surfaceStateForPrivateScratchAllocation, computeUnitsUsedForScratch,
|
||||
privateScratchAllocationAddress, 0, perThreadPrivateScratchSize, nullptr, false,
|
||||
scratchType, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user