P4 to Git Change 1585268 by wchau@wchau_OCL_boltzmann on 2018/07/25 12:33:45

SWDEV-160377 - [OCL][ROCM] Add OpenCL Runtime Support for GFX10 in ROCm

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#92 edit
This commit is contained in:
foreman
2018-07-25 12:43:09 -04:00
parent cfccbd91ab
commit 16c55e6a36
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -94,6 +94,10 @@ static HsaDeviceId getHsaDeviceId(hsa_agent_t device, uint32_t& pci_id) {
return HSA_VEGA12_ID;
case 906:
return HSA_VEGA20_ID;
case 1000:
return HSA_ARIEL_ID;
case 1010:
return HSA_NAVI10_ID;
default:
return HSA_INVALID_DEVICE_ID;
}