{ }
This commit is contained in:
parent
70678e44ae
commit
c6c89ac75a
2 changed files with 6 additions and 3 deletions
|
|
@ -28,8 +28,9 @@ Tensor::~Tensor()
|
|||
KP_LOG_DEBUG("Kompute Tensor destructor started. Type: {}",
|
||||
this->tensorType());
|
||||
|
||||
if (this->mDevice)
|
||||
if (this->mDevice) {
|
||||
this->destroy();
|
||||
}
|
||||
|
||||
KP_LOG_DEBUG("Kompute Tensor destructor success");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue