P4 to Git Change 2061572 by kjayapra@2_HIPWS_P2P_ROCM2 on 2020/01/22 12:08:52

SWDEV-145570 - MI200 Support changes

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#151 edit


[ROCm/clr commit: 836301fd4a]
This commit is contained in:
foreman
2020-01-22 12:13:41 -05:00
parent e2f091a506
commit ce12fa26b8
@@ -68,6 +68,7 @@ static HsaDeviceId getHsaDeviceId(hsa_agent_t device, uint32_t& pci_id) {
return HSA_INVALID_DEVICE_ID;
}
uint gfxipVersion = atoi(&agent_name[3]);
if (gfxipVersion < 900 && GPU_VEGA10_ONLY) {
return HSA_INVALID_DEVICE_ID;