SWDEV-284895 - unload program object before releasing it
Change-Id: Ib10c9877043d90de8e292db319bb9def43df8061
This commit is contained in:
1 orang tua
671fe75c26
melakukan
ff00f2cea7
1 file changed
+1
@@ -6,6 +6,7 @@ namespace hip {
|
||||
|
||||
FatBinaryDeviceInfo::~FatBinaryDeviceInfo() {
|
||||
if (program_ != nullptr) {
|
||||
program_->unload();
|
||||
program_->release();
|
||||
program_ = nullptr;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user