P4 to Git Change 1746757 by jujiang@JJ-OCL-w8 on 2019/02/21 10:38:37

SWDEV-179047 - [CQE OCL][DTB-BLOCKER][QR][Windows][19.10] clinfo results in "clBuildProgram" error with OCL binaries. Faulty CL#1737731
	-Tested on Picasso, PAL stack passed, ORCA stack has issue.
	-PAL gas xnack feature supported, but ORCA diesn't
	-Added xnack feature and tested, work fine on both Bristol and Picasso
	- this is a simple temporary fix, will implement a proper fix later in another ticket.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#155 edit


[ROCm/clr commit: 908dafa7b1]
This commit is contained in:
foreman
2019-02-21 13:56:14 -05:00
parent 414134f4f7
commit 10520b6487
@@ -190,12 +190,12 @@ enum gfx_handle {
static const char* Gfx700 = "amdgcn-amd-amdhsa--gfx700";
static const char* Gfx701 = "amdgcn-amd-amdhsa--gfx701";
static const char* Gfx800 = "amdgcn-amd-amdhsa--gfx800";
static const char* Gfx801 = "amdgcn-amd-amdhsa--gfx801";
static const char* Gfx801 = "amdgcn-amd-amdhsa--gfx801+xnack";
static const char* Gfx804 = "amdgcn-amd-amdhsa--gfx804";
static const char* Gfx810 = "amdgcn-amd-amdhsa--gfx810";
static const char* Gfx810 = "amdgcn-amd-amdhsa--gfx810+xnack";
static const char* Gfx900 = "amdgcn-amd-amdhsa--gfx900";
static const char* Gfx901 = "amdgcn-amd-amdhsa--gfx901";
static const char* Gfx902 = "amdgcn-amd-amdhsa--gfx902";
static const char* Gfx902 = "amdgcn-amd-amdhsa--gfx902+xnack";
static const char* Gfx903 = "amdgcn-amd-amdhsa--gfx902"; // NOTE: gfx903 is gfx902 with xnack
static const char* Gfx904 = "amdgcn-amd-amdhsa--gfx904";
static const char* Gfx905 = "amdgcn-amd-amdhsa--gfx905";