mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Always specify rootDeviceIndex for graphics memory allocations
Related-To: NEO-2941 Change-Id: Ia2362fd6b4e72ede02919152475f40b3edbc3658 Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
5f021afd6d
commit
63fd26f6d6
@@ -512,7 +512,7 @@ TEST_F(CloneKernelTest, cloneKernelWithExecInfo) {
|
||||
if (!pDevice->getHardwareInfo().capabilityTable.ftrSvm) {
|
||||
GTEST_SKIP();
|
||||
}
|
||||
void *ptrSVM = pContext->getSVMAllocsManager()->createSVMAlloc(256, {});
|
||||
void *ptrSVM = pContext->getSVMAllocsManager()->createSVMAlloc(pDevice->getRootDeviceIndex(), 256, {});
|
||||
ASSERT_NE(nullptr, ptrSVM);
|
||||
|
||||
auto svmData = pContext->getSVMAllocsManager()->getSVMAlloc(ptrSVM);
|
||||
|
||||
Reference in New Issue
Block a user