From 090101352f0ea01cc6cc5942e5e4861457d3b94a Mon Sep 17 00:00:00 2001
From: foreman
Date: Fri, 20 Oct 2017 19:39:49 -0400
Subject: [PATCH] P4 to Git Change 1473287 by lmoriche@lmoriche_opencl_dev2 on
2017/10/20 19:31:40
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#73 edit
[ROCm/clr commit: c9852274bd13c2edd057ac2fe371d13854ed3924]
---
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 91450b44fa..902dc96173 100644
--- a/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp
+++ b/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp
@@ -954,7 +954,7 @@ bool Device::populateOCLDeviceConstants() {
info_.addressBits_ = LP64_SWITCH(32, 64);
info_.maxSamplers_ = 16;
info_.bufferFromImageSupport_ = CL_FALSE;
- info_.oclcVersion_ = "OpenCL C " IF(IS_LIGHTNING, OPENCL_C_VERSION_STR, "1.2") " ";
+ info_.oclcVersion_ = "OpenCL C " OPENCL_C_VERSION_STR " ";
info_.spirVersions_ = "";
uint16_t major, minor;