From cbbfb4a0f311e0448fa641db2d122b7d862115c0 Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 4 Dec 2018 19:47:07 -0500 Subject: [PATCH] P4 to Git Change 1716039 by gandryey@gera-w8 on 2018/12/04 19:35:36 SWDEV-86035 - Fix OCL runtime crash after recent PAL promotion - PAL added a new asic inside the old enum and broke the logic for the asic detection with nulldevices. Add a new entry into Gfx9PlusSubDeviceInfo Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#44 edit [ROCm/clr commit: 6aff36f09a9321b860a26bf93d6d5a71fcba119b] --- projects/clr/rocclr/runtime/device/pal/paldefs.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/clr/rocclr/runtime/device/pal/paldefs.hpp b/projects/clr/rocclr/runtime/device/pal/paldefs.hpp index fd64e86d65..bd0817469c 100644 --- a/projects/clr/rocclr/runtime/device/pal/paldefs.hpp +++ b/projects/clr/rocclr/runtime/device/pal/paldefs.hpp @@ -175,6 +175,9 @@ static const AMDDeviceInfo Gfx9PlusSubDeviceInfo[] = { /* Raven2 */{"gfx902", "gfx902", "gfx902", 4, 16, 1, 256, 64 * Ki, 32, 902, 902, false}, /* Raven2 XNACK */{ LIGHTNING_SWITCH("gfx902","gfx903"), "gfx903", "gfx902", 4, 16, 1, 256, 64 * Ki, 32, 902, 903, true}, + /* Renoir */{"gfx902", "gfx902", "gfx902", 4, 16, 1, 256, 64 * Ki, 32, 902, 902, false}, + /* Renoir XNACK */{ LIGHTNING_SWITCH("gfx902","gfx903"), "gfx903", "gfx902", + 4, 16, 1, 256, 64 * Ki, 32, 902, 903, true}, /* Navi10 */{"gfx1010", "gfx1010", "gfx1010", 4, 16, 1, 256, 64 * Ki, 32, 1010, 1010, false}, /* Navi10 XNACK */{"gfx1010", "gfx1010", "gfx1010", 4, 16, 1, 256, 64 * Ki, 32, 1010, 1010, true}, /* Navi10Lite */{"gfx1000", "gfx1000","gfx1000", 4, 16, 1, 256, 64 * Ki, 32, 1000, 1000, false},