mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
Block SVMAllocsManager creation in Context when SVM is not supported
- skip SVM tests when SVM is not supported Related-To: NEO-3157 Change-Id: Ie5d5ef4778749f60537084fc7f388714954a4873 Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
9217b80b42
commit
d15174d7c5
@@ -509,6 +509,9 @@ TEST_F(CloneKernelTest, cloneKernelWithArgImmediate) {
|
||||
}
|
||||
|
||||
TEST_F(CloneKernelTest, cloneKernelWithExecInfo) {
|
||||
if (!pDevice->getHardwareInfo().capabilityTable.ftrSvm) {
|
||||
GTEST_SKIP();
|
||||
}
|
||||
void *ptrSVM = pContext->getSVMAllocsManager()->createSVMAlloc(256, {});
|
||||
ASSERT_NE(nullptr, ptrSVM);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user