SWDEV-284895 - unload program object before releasing it

Change-Id: Ib10c9877043d90de8e292db319bb9def43df8061


[ROCm/clr commit: ff00f2cea7]
This commit is contained in:
anusha GodavarthySurya authored and Anusha Godavarthy Surya committed 2021-12-01 20:25:26 -05:00
1 vanhempi 57c48a488b
commit 9761126154
1 file changed
+1
@@ -6,6 +6,7 @@ namespace hip {
FatBinaryDeviceInfo::~FatBinaryDeviceInfo() {
if (program_ != nullptr) {
program_->unload();
program_->release();
program_ = nullptr;
}