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:
@@ -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_)];
|
||||
|
||||
Reference in New Issue
Block a user