mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Add proper ULTs to test createMultiGraphicsAllocation function
Related-To: NEO-4589 Change-Id: Ic78dee29f7715a6e5eff5b5c28f337452921d5b3 Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
067fea96ca
commit
dcf708f2d2
@@ -119,7 +119,7 @@ void *SVMAllocsManager::createHostUnifiedMemoryAllocation(uint32_t maxRootDevice
|
||||
GraphicsAllocation::AllocationType allocationType = GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY;
|
||||
|
||||
std::vector<uint32_t> rootDeviceIndices;
|
||||
rootDeviceIndices.reserve(maxRootDeviceIndex);
|
||||
rootDeviceIndices.reserve(maxRootDeviceIndex + 1);
|
||||
for (auto rootDeviceIndex = 0u; rootDeviceIndex <= maxRootDeviceIndex; rootDeviceIndex++) {
|
||||
rootDeviceIndices.push_back(rootDeviceIndex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user