P4 to Git Change 2027394 by axie@axie-hip-rocm on 2019/11/08 11:33:17
SWDEV-193973 - [OpenCL][NV21] Add support for Navi21 Add IDs. Tests: http://ocltc.amd.com:8111/viewModification.html?modId=128585&personal=true&tab=vcsModificationBuilds http://ocltc.amd.com:8111/viewModification.html?modId=128554&personal=true&tab=vcsModificationBuilds http://ocltc.amd.com:8111/viewModification.html?modId=128550&personal=true&tab=vcsModificationBuilds ReviewBoard: http://ocltc.amd.com/reviews/r/18249/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#25 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#139 edit
Bu işleme şunda yer alıyor:
1 ebeveyn
73048b9aa1
işleme
106f1cfef8
2 files changed
+13
-1
No files matched your search
@@ -99,6 +99,12 @@ static HsaDeviceId getHsaDeviceId(hsa_agent_t device, uint32_t& pci_id) {
|
||||
return HSA_ARIEL_ID;
|
||||
case 1010:
|
||||
return HSA_NAVI10_ID;
|
||||
case 1011:
|
||||
return HSA_NAVI12_ID;
|
||||
case 1012:
|
||||
return HSA_NAVI14_ID;
|
||||
case 1030:
|
||||
return HSA_NAVI21_ID;
|
||||
default:
|
||||
return HSA_INVALID_DEVICE_ID;
|
||||
}
|
||||
|
||||
Reference in new issue
Bir kullanıcı engelle