Resolve macro conflict in opencl build

Change-Id: I752dff96652a55e4fbf719e84ee7d3ec49f5f20a


[ROCm/clr commit: 77c9226d87]
Dieser Commit ist enthalten in:
Tao Sang verfasst und Tao Sang committed 2020-09-16 17:57:24 -04:00
1 Ursprung 44647ba411
Commit 873ab65331
1 Datei geändert
+2 -2
+2 -2
Datei anzeigen
@@ -378,7 +378,7 @@ typedef uint64_t Elf64_Off;
// AMDGPU specific e_flags
#define EF_AMDGPU_MACH 0x0ff // AMDGPU processor selection mask.
#define EF_AMDGPU_XNACK 0x100 // Indicates if the XNACK target feature is
//#define EF_AMDGPU_XNACK 0x100 // Indicates if the XNACK target feature is
// enabled for all code contained in the ELF.
// AMDGPU processors
#define EF_AMDGPU_MACH_NONE 0x000 // Unspecified processor.
@@ -506,7 +506,7 @@ typedef uint64_t Elf64_Off;
#define STT_COMMON 5
#define STT_TLS 6
#define STT_LOOS 10
#define STT_AMDGPU_HSA_KERNEL 10
#define STT_AMDGPU_HSA_KERNEL (STT_LOOS + 0)
#define STT_HIOS 12
#define STT_LOPROC 13
#define STT_HIPROC 15