SWDEV-277566 - Separate code object loading from building
Change-Id: I87b8178f55e8ef23762dfe11fab71665ba680f00
This commit is contained in:
committed by
Jason Tang
orang tua
509f528980
melakukan
211ba25b4e
@@ -366,6 +366,10 @@ bool Device::BlitProgram::create(amd::Device* device, const char* extraKernels,
|
||||
DevLogPrintfError("Build failed for Kernel: %s \n", kernels.c_str());
|
||||
return false;
|
||||
}
|
||||
if (!program_->load()) {
|
||||
DevLogPrintfError("Could not load the kernels: %s \n", kernels.c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user