P4 to Git Change 2008360 by gandryey@gera-win10 on 2019/10/03 18:48:04

SWDEV-204999 - [hipclang-vdi-rocm] TF unit test tracking.util_xla_test_gpu fails to run
	- Fix a regression with 32bit binaries in HSAIL mode

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.hpp#28 edit


[ROCm/clr commit: 371a872e7c]
Šī revīzija ir iekļauta:
foreman committed 2019-10-03 18:51:01 -04:00
1 vecāks 518f6edb43
revīzija 0240254538
1 file changed
+2 -1
@@ -334,7 +334,8 @@ public:
const char* getErrMsg() { return _err.getOclElfError(); }
unsigned char getELFClass() { return _eclass; }
bool isHsaCo() const { return (elf64_getehdr(_e)->e_machine == EM_AMDGPU); }
bool isHsaCo() const { return (_eclass == ELFCLASS32) ?
(elf32_getehdr(_e)->e_machine == EM_AMDGPU) : (elf64_getehdr(_e)->e_machine == EM_AMDGPU); }
private: