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