P4 to Git Change 1422533 by wchau@wchau_OCL_boltzmann on 2017/06/14 17:14:23
SWDEV-124405 - Observed "Segmentation fault (core dumped()" while running clinfo. Add support of GFX901 for Vega10. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#11 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#55 edit
This commit is contained in:
@@ -86,6 +86,8 @@ static HsaDeviceId getHsaDeviceId(hsa_agent_t device, uint32_t& pci_id) {
|
||||
return HSA_FIJI_ID;
|
||||
case 900:
|
||||
return HSA_VEGA10_ID;
|
||||
case 901:
|
||||
return HSA_VEGA10_HBCC_ID;
|
||||
default:
|
||||
return HSA_INVALID_DEVICE_ID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user