Limiting VME tests to supporting platforms

Change-Id: I06aac13fc69d74fc4db26dfdd3b2035e53405d08
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com>
Related-To: NEO-3416
This commit is contained in:
Andrzej Koska
2019-07-29 11:07:37 +02:00
committed by sys_ocldev
parent 2548bea71d
commit dd777559ba
5 changed files with 43 additions and 3 deletions

View File

@@ -1485,6 +1485,9 @@ TEST_F(PatchTokenTests, ConstantMemoryObjectKernelArg) {
}
TEST_F(PatchTokenTests, VmeKernelArg) {
if (!pDevice->getExecutionEnvironment()->getHardwareInfo()->capabilityTable.supportsVme) {
GTEST_SKIP();
}
// PATCH_TOKEN_INLINE_VME_SAMPLER_INFO token indicates a VME kernel.
cl_device_id device = pDevice;