P4 to Git Change 1739728 by jatang@jatang_win_pal_lc on 2019/02/04 16:58:16

SWDEV-178313 - Properly enable OpenCL 2.0 on ROCm/LC path for Vega10+.

	OPENCL_VERSION_STR is 2.1, but we only enable 2.0 since we don't have compiler's support for 2.1.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#115 edit


[ROCm/clr commit: bd269026e4]
This commit is contained in:
foreman
2019-02-04 17:48:08 -05:00
parent 1faec0e186
commit dcfc5bcf03
@@ -1078,7 +1078,7 @@ bool Device::populateOCLDeviceConstants() {
// Enable OpenCL 2.0 for Vega10+
if (deviceInfo_.gfxipVersion_ >= 900) {
info_.version_ = "OpenCL " OPENCL_VERSION_STR " ";
info_.version_ = "OpenCL " /*OPENCL_VERSION_STR*/"2.0" " ";
} else {
info_.version_ = "OpenCL " /*OPENCL_VERSION_STR*/"1.2" " ";
}