From a72c17bc3d89b5bdcdaaefd931da43ed28db0db3 Mon Sep 17 00:00:00 2001 From: foreman Date: Thu, 19 Oct 2017 13:19:58 -0400 Subject: [PATCH] P4 to Git Change 1472623 by lmoriche@lmoriche_opencl_dev2 on 2017/10/19 13:12:12 SWDEV-135933 - Use the same device driver version format for all device backends - Report "####.# (HSA#.#,{HSAIL|LC})" Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#71 edit [ROCm/clr commit: 3eb98fe4e7dff6b725fc26aa92c14e2694c72685] --- 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 d5a3fcf538..90d393a9b4 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp @@ -963,7 +963,7 @@ bool Device::populateOCLDeviceConstants() { return false; } std::stringstream ss; - ss << major << "." << minor << " (HSA," IF(IS_LIGHTNING, "LC", "HSAIL") ")"; + ss << AMD_BUILD_STRING " (HSA" << major << "." << minor << "," IF(IS_LIGHTNING, "LC", "HSAIL") ")"; strcpy(info_.driverVersion_, ss.str().c_str()); info_.version_ = "OpenCL " /*OPENCL_VERSION_STR*/"1.2" " ";