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:
@@ -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" " ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user