Add API name to version_expected_info function

This commit is contained in:
Grzegorz Wawiorko
2020-03-27 19:29:13 +01:00
committed by Alastair Murray
parent bfc1cc47f3
commit d643dc5399
11 changed files with 14 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ test_status InitCL(cl_device_id device) {
auto version = get_device_cl_version(device);
auto expected_min_version = Version(2, 0);
if (version < expected_min_version) {
version_expected_info("Test", expected_min_version.to_string().c_str(), version.to_string().c_str());
version_expected_info("Test", "OpenCL", expected_min_version.to_string().c_str(), version.to_string().c_str());
return TEST_SKIP;
}