From ce795053314ebf8f92e8cec48c13ba275cac99df Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 7 Jun 2017 16:14:38 -0400 Subject: [PATCH] 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: a2b0ebf70c20faeae605f67e52b613f5b5ec8afd] --- projects/clr/rocclr/runtime/device/pal/paldevice.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/clr/rocclr/runtime/device/pal/paldevice.cpp b/projects/clr/rocclr/runtime/device/pal/paldevice.cpp index 05a2c9ad98..b2bb958c38 100644 --- a/projects/clr/rocclr/runtime/device/pal/paldevice.cpp +++ b/projects/clr/rocclr/runtime/device/pal/paldevice.cpp @@ -655,7 +655,8 @@ bool Device::create(Pal::IDevice* device) { if ((GPU_ENABLE_PAL == 1) && (properties().revision <= Pal::AsicRevision::Baffin)) { hwInfo_ = &DeviceInfo[static_cast(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(ipLevel_)];