P4 to Git Change 1419586 by skudchad@skudchad_test_win_opencl2 on 2017/06/07 16:09:44

SWDEV-107271 - [OpenCL][GFXIP9 Bring up]
	- Detect HBCC and correctly support Vega10 with XNACKs

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/12911/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#47 edit


[ROCm/clr commit: a2b0ebf70c]
This commit is contained in:
foreman
2017-06-07 16:14:38 -04:00
parent d59493069e
commit ce79505331
@@ -655,7 +655,8 @@ bool Device::create(Pal::IDevice* device) {
if ((GPU_ENABLE_PAL == 1) && (properties().revision <= Pal::AsicRevision::Baffin)) {
hwInfo_ = &DeviceInfo[static_cast<uint>(properties().revision)];
} else if (ipLevel_ >= Pal::GfxIpLevel::GfxIp9) {
if (properties().gpuType == Pal::GpuType::Integrated) {
if (properties().gpuType == Pal::GpuType::Integrated ||
properties_.gpuMemoryProperties.flags.migrationSupport) {
hwInfo_ = &Gfx901DeviceInfo;
} else {
hwInfo_ = &GfxIpDeviceInfo[static_cast<uint>(ipLevel_)];