P4 to Git Change 1335043 by lmoriche@lmoriche_opencl_dev on 2016/11/01 19:59:01

SWDEV-94611 - [OCL-LC-ROCm] Add "HSAIL" or "LC" to the driver version string to tell which stack is used.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#24 edit
This commit is contained in:
foreman
2016-11-01 20:05:34 -04:00
parent 3bfd6767a3
commit 248840bd54
+2 -1
View File
@@ -835,7 +835,8 @@ Device::populateOCLDeviceConstants()
return false;
}
std::stringstream ss;
ss << major << "." << minor << " (HSA)";
ss << major << "." << minor << " (HSA," IF(IS_LIGHTNING,"LC","HSAIL") ")";
strcpy(info_.driverVersion_, ss.str().c_str());
info_.version_ = "OpenCL " /*OPENCL_VERSION_STR*/"1.2" " ";