SWDEV-404889 - Switch to FreezeExecutable()
Debugger support requires FreezeExecutable() call inside the loader interface.
Change-Id: Iff01840a5980500d8d51da8d73c3f24b2960c44a
[ROCm/clr commit: dcd2fcff16]
Este commit está contenido en:
cometido por
Maneesh Gupta
padre
ebcecf1f4f
commit
650978eccc
@@ -270,7 +270,7 @@ bool HSAILProgram::createKernels(void* binary, size_t binSize, bool useUniformWo
|
||||
buildLog_ += "Error: AMD HSA Code Object loading failed.\n";
|
||||
return false;
|
||||
}
|
||||
status = executable_->Freeze(nullptr);
|
||||
status = loader_->FreezeExecutable(executable_, nullptr);
|
||||
if (status != HSA_STATUS_SUCCESS) {
|
||||
buildLog_ += "Error: AMD HSA Code Object freeze failed.\n";
|
||||
return false;
|
||||
@@ -782,7 +782,7 @@ bool LightningProgram::createKernels(void* binary, size_t binSize, bool useUnifo
|
||||
return false;
|
||||
}
|
||||
|
||||
status = executable_->Freeze(nullptr);
|
||||
status = loader_->FreezeExecutable(executable_, nullptr);
|
||||
if (status != HSA_STATUS_SUCCESS) {
|
||||
LogError("Error: Freezing the executable failed.");
|
||||
return false;
|
||||
|
||||
Referencia en una nueva incidencia
Block a user