Check error return from aqlCreateHWInfo
Change-Id: If57c30d0605dc628d93a0d8131836ecde9834261
This commit is contained in:
@@ -3095,7 +3095,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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user