mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Set new minimum version for the spirv_new tests. (#854)
This allows 1.2 implementations with the cl_khr_il_program extension to run them.
This commit is contained in:
@@ -1041,9 +1041,9 @@ test_status check_spirv_compilation_readiness(cl_device_id device)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
version_expected_info("Test", "OpenCL",
|
log_error("SPIR-V intermediate language support on OpenCL version "
|
||||||
ocl_expected_min_version.to_string().c_str(),
|
"%s requires cl_khr_il_program extension.\n",
|
||||||
ocl_version.to_string().c_str());
|
ocl_version.to_string().c_str());
|
||||||
return TEST_SKIP;
|
return TEST_SKIP;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ void spirvTestsRegistry::addTestClass(baseTestClass *test, const char *testName)
|
|||||||
test_definition testDef;
|
test_definition testDef;
|
||||||
testDef.func = test->getFunction();
|
testDef.func = test->getFunction();
|
||||||
testDef.name = testName;
|
testDef.name = testName;
|
||||||
testDef.min_version = Version(2, 1);
|
testDef.min_version = Version(1, 2);
|
||||||
testDefinitions.push_back(testDef);
|
testDefinitions.push_back(testDef);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user