P4 to Git Change 1431618 by jatang@jatang-opencl-hsa-stg1 on 2017/07/07 16:47:09
P4 to Git Change 1431618 by jatang@jatang-opencl-hsa-stg1 on 2017/07/07 16:47:09

	SWDEV-126057 - Fix a segfault of libamdocl-rocr64.so when there's no vega10 is in the system.

	When there's no supported device, Device::devices_ is not created. So we add a check.

Affected files ...

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

ROCm-Developer-Tools/ROCclr,ROCm-Developer-Tools/ROCclr