From cafe3fcf08eb5ff89ca14976d093c8f3a077123d Mon Sep 17 00:00:00 2001
From: foreman
Date: Fri, 20 Oct 2017 21:00:19 -0400
Subject: [PATCH] P4 to Git Change 1473290 by lmoriche@lmoriche_opencl_dev2 on
2017/10/20 20:49:28
SWDEV-126884 - OCL 2.1 Platform APIs
- Report OpenCL C 2.0 on OCL/ROCm/HSAIL
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#74 edit
[ROCm/clr commit: c8c4813e1703eea793f03cf115c9ad93b3b457d6]
---
projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp b/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp
index 902dc96173..a2c805e375 100644
--- a/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp
+++ b/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp
@@ -112,7 +112,7 @@ bool NullDevice::create(const AMDDeviceInfo& deviceInfo) {
info_.extensions_ = getExtensionString();
info_.maxWorkGroupSize_ = hsaSettings->maxWorkGroupSize_;
::strcpy(info_.vendor_, "Advanced Micro Devices, Inc.");
- info_.oclcVersion_ = "OpenCL C " IF(IS_LIGHTNING, OPENCL_C_VERSION_STR, "1.2") " ";
+ info_.oclcVersion_ = "OpenCL C " OPENCL_C_VERSION_STR " ";
info_.spirVersions_ = "";
strcpy(info_.driverVersion_, "1.0 Provisional (hsa)");
info_.version_ = "OpenCL " OPENCL_VERSION_STR " ";