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:
foreman
2017-06-14 17:25:11 -04:00
rodzic f8bdb00ade
commit c95e8d22e7
2 zmienionych plików z 5 dodań i 1 usunięć
@@ -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;
}