mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
Remove unused variable in allocateGlobalsSurface
Signed-off-by: Luzynski, Sebastian Jozef <sebastian.jozef.luzynski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1f9a5b878f
commit
67ffe0533f
@@ -30,11 +30,6 @@ GraphicsAllocation *allocateGlobalsSurface(NEO::SVMAllocsManager *const svmAlloc
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (globalsAreExported && (svmAllocManager != nullptr)) {
|
if (globalsAreExported && (svmAllocManager != nullptr)) {
|
||||||
NEO::SVMAllocsManager::SvmAllocationProperties svmProps = {};
|
|
||||||
svmProps.coherent = false;
|
|
||||||
svmProps.readOnly = constant;
|
|
||||||
svmProps.hostPtrReadOnly = constant;
|
|
||||||
|
|
||||||
RootDeviceIndicesContainer rootDeviceIndices;
|
RootDeviceIndicesContainer rootDeviceIndices;
|
||||||
rootDeviceIndices.push_back(rootDeviceIndex);
|
rootDeviceIndices.push_back(rootDeviceIndex);
|
||||||
std::map<uint32_t, DeviceBitfield> subDeviceBitfields;
|
std::map<uint32_t, DeviceBitfield> subDeviceBitfields;
|
||||||
|
|||||||
Reference in New Issue
Block a user