SWDEV-404889 - Switch to FreezeExecutable()

Debugger support requires FreezeExecutable() call inside the loader interface.

Change-Id: Iff01840a5980500d8d51da8d73c3f24b2960c44a


[ROCm/clr commit: dcd2fcff16]
Tento commit je obsažen v:
German Andryeyev authored and Maneesh Gupta committed 2024-02-05 05:08:11 +00:00
1 rodič ebcecf1f4f
revize 650978eccc
1 file changed
+2 -2
+2 -2
Zobrazit soubor
@@ -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;