From 90e858e5bd206f8d13574b5676fca44447434d1b Mon Sep 17 00:00:00 2001 From: Filip Hazubski Date: Thu, 1 Oct 2020 16:38:16 +0200 Subject: [PATCH] Update latest conformance version passed Change-Id: I17b77b84a47a6e383082b0b35487bca8aaec05bf Signed-off-by: Filip Hazubski --- opencl/source/cl_device/cl_device_caps.cpp | 2 +- opencl/test/unit_test/device/device_caps_tests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opencl/source/cl_device/cl_device_caps.cpp b/opencl/source/cl_device/cl_device_caps.cpp index 1680aba245..50e87ad7ac 100644 --- a/opencl/source/cl_device/cl_device_caps.cpp +++ b/opencl/source/cl_device/cl_device_caps.cpp @@ -27,7 +27,7 @@ static std::string vendor = "Intel(R) Corporation"; static std::string profile = "FULL_PROFILE"; static std::string spirVersions = "1.2 "; static std::string spirvName = "SPIR-V"; -const char *latestConformanceVersionPassed = "1.0"; +const char *latestConformanceVersionPassed = "v2020-10-01-00"; #define QTR(a) #a #define TOSTR(b) QTR(b) static std::string driverVersion = TOSTR(NEO_OCL_DRIVER_VERSION); diff --git a/opencl/test/unit_test/device/device_caps_tests.cpp b/opencl/test/unit_test/device/device_caps_tests.cpp index 55abc78f52..e5fc702844 100644 --- a/opencl/test/unit_test/device/device_caps_tests.cpp +++ b/opencl/test/unit_test/device/device_caps_tests.cpp @@ -129,7 +129,7 @@ TEST_F(DeviceGetCapsTest, WhenCreatingDeviceThenCapsArePopulatedCorrectly) { EXPECT_GT(caps.openclCAllVersions.size(), 0u); EXPECT_GT(caps.openclCFeatures.size(), 0u); EXPECT_EQ(caps.extensionsWithVersion.size(), 0u); - EXPECT_STREQ("1.0", caps.latestConformanceVersionPassed); + EXPECT_STREQ("v2020-10-01-00", caps.latestConformanceVersionPassed); EXPECT_NE(nullptr, caps.spirVersions); EXPECT_NE(nullptr, caps.deviceExtensions);