SWDEV-284895 - unload program object before releasing it
Change-Id: Ib10c9877043d90de8e292db319bb9def43df8061
[ROCm/clr commit: ff00f2cea7]
Este commit está contenido en:
1 padre
57c48a488b
commit
9761126154
1 file changed
+1
@@ -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