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: c8c4813e17]
Šī revīzija ir iekļauta:
foreman
2017-10-20 21:00:19 -04:00
vecāks 090101352f
revīzija cafe3fcf08
@@ -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 " ";