mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +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
@@ -42,8 +42,12 @@ void api_fixture::SetUp() {
|
||||
void api_fixture::TearDown() {
|
||||
delete pKernel;
|
||||
delete pCommandQueue;
|
||||
pContext->release();
|
||||
pProgram->release();
|
||||
if (pContext) {
|
||||
pContext->release();
|
||||
}
|
||||
if (pProgram) {
|
||||
pProgram->release();
|
||||
}
|
||||
|
||||
PlatformFixture::TearDown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user