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


[ROCm/clr commit: 057a019e40]
This commit is contained in:
foreman
2017-06-08 18:40:45 -04:00
rodzic 5968e32502
commit 8a2ddbd94a
@@ -656,7 +656,7 @@ bool Device::create(Pal::IDevice* device) {
hwInfo_ = &DeviceInfo[static_cast<uint>(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<uint>(ipLevel_)];