SWDEV-277566 - Separate code object loading from building
Change-Id: I87b8178f55e8ef23762dfe11fab71665ba680f00
[ROCm/clr commit: 211ba25b4e]
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
مرجع در شماره جدید
Block a user