Check error return from aqlCreateHWInfo

Change-Id: If57c30d0605dc628d93a0d8131836ecde9834261
Este commit está contenido en:
Tony Tye
2021-01-10 02:23:21 +00:00
padre e5431676d4
commit 30729a716f
Se han modificado 2 ficheros con 6 adiciones y 2 borrados
+3 -1
Ver fichero
@@ -143,7 +143,9 @@ bool HSAILKernel::init(amd::hsa::loader::Symbol* sym, bool finalize) {
}
}
aqlCreateHWInfo(sym);
if (!aqlCreateHWInfo(sym)) {
return false;
}
// Pull out metadata from the ELF
size_t sizeOfArgList;