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
This commit is contained in:
foreman
2017-12-11 16:19:53 -05:00
والد 71fd64f2a6
کامیت dc1abd4335
@@ -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: