SWDEV-284895 - unload program object before releasing it
Change-Id: Ib10c9877043d90de8e292db319bb9def43df8061
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
671fe75c26
commit
ff00f2cea7
@@ -6,6 +6,7 @@ namespace hip {
|
|||||||
|
|
||||||
FatBinaryDeviceInfo::~FatBinaryDeviceInfo() {
|
FatBinaryDeviceInfo::~FatBinaryDeviceInfo() {
|
||||||
if (program_ != nullptr) {
|
if (program_ != nullptr) {
|
||||||
|
program_->unload();
|
||||||
program_->release();
|
program_->release();
|
||||||
program_ = nullptr;
|
program_ = nullptr;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user