SWDEV-284895 - unload program object before releasing it

Change-Id: Ib10c9877043d90de8e292db319bb9def43df8061


[ROCm/clr commit: ff00f2cea7]
This commit is contained in:
anusha GodavarthySurya
2021-12-01 08:16:58 -08:00
zatwierdzone przez Anusha Godavarthy Surya
rodzic 57c48a488b
commit 9761126154
@@ -6,6 +6,7 @@ namespace hip {
FatBinaryDeviceInfo::~FatBinaryDeviceInfo() {
if (program_ != nullptr) {
program_->unload();
program_->release();
program_ = nullptr;
}