From 057a019e40f0df7e5086d4479effa17aeb04fb0f Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 8 Jun 2017 18:40:45 -0400
Subject: [PATCH] P4 to Git Change 1420248 by
skudchad@skudchad_test_win_opencl2 on 2017/06/08 18:13:23
SWDEV-107271 - [OpenCL][GFXIP9 Bring up]
- Correct the pageMigration flag in runtime
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#48 edit
---
rocclr/runtime/device/pal/paldevice.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocclr/runtime/device/pal/paldevice.cpp b/rocclr/runtime/device/pal/paldevice.cpp
index b2bb958c38..05552ca1ad 100644
--- a/rocclr/runtime/device/pal/paldevice.cpp
+++ b/rocclr/runtime/device/pal/paldevice.cpp
@@ -656,7 +656,7 @@ bool Device::create(Pal::IDevice* device) {
hwInfo_ = &DeviceInfo[static_cast(properties().revision)];
} else if (ipLevel_ >= Pal::GfxIpLevel::GfxIp9) {
if (properties().gpuType == Pal::GpuType::Integrated ||
- properties_.gpuMemoryProperties.flags.migrationSupport) {
+ properties_.gpuMemoryProperties.flags.pageMigrationEnabled) {
hwInfo_ = &Gfx901DeviceInfo;
} else {
hwInfo_ = &GfxIpDeviceInfo[static_cast(ipLevel_)];