From dc1abd4335f8d0bf5ae1e70d544529dfc7d30a34 Mon Sep 17 00:00:00 2001 From: foreman Date: Mon, 11 Dec 2017 16:19:53 -0500 Subject: [PATCH] P4 to Git Change 1492898 by gandryey@gera-w8 on 2017/12/11 16:12:28 SWDEV-79445 - OCL generic changes and code clean-up - Fix compile error Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#51 edit --- rocclr/runtime/device/pal/palprogram.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rocclr/runtime/device/pal/palprogram.cpp b/rocclr/runtime/device/pal/palprogram.cpp index 6fe493197b..8daad62bdd 100644 --- a/rocclr/runtime/device/pal/palprogram.cpp +++ b/rocclr/runtime/device/pal/palprogram.cpp @@ -945,10 +945,12 @@ bool PALHSALoaderContext::IsaSupportedByAgent(hsa_agent_t agent, hsa_isa_t isa) return isa.handle == gfx800; case gfx801: return isa.handle == gfx801; - case gfx804: + case gfx802: + return isa.handle == gfx800 || isa.handle == gfx801 || isa.handle == gfx802; + case gfx803: // gfx800 ISA has only sgrps limited and can be loaded. // gfx801 ISA has XNACK limitations and can be loaded. - return isa.handle == gfx800 || isa.handle == gfx801 || isa.handle == gfx804; + return isa.handle == gfx800 || isa.handle == gfx801 || isa.handle == gfx802 || isa.handle == gfx803; case gfx810: return isa.handle == gfx810; case gfx900: