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
Tá an tiomantas seo le fáil i:
foreman
2019-10-03 18:51:01 -04:00
tuismitheoir 02fbea29d6
tiomantas 371a872e7c
+2 -1
Féach ar an gComhad
@@ -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: