Updated docs
This commit is contained in:
parent
c8283844d6
commit
71f09339f7
1 changed files with 2 additions and 2 deletions
|
|
@ -24,12 +24,12 @@ OpTensorCreate::~OpTensorCreate()
|
|||
{
|
||||
SPDLOG_DEBUG("Kompute OpTensorCreate destructor started");
|
||||
|
||||
SPDLOG_DEBUG("Kompute OpBase freeing staging tensors");
|
||||
SPDLOG_DEBUG("Kompute OpTensorCreate freeing staging tensors");
|
||||
for (std::shared_ptr<Tensor> tensor : this->mStagingTensors) {
|
||||
if (tensor && tensor->isInit()) {
|
||||
tensor->freeMemoryDestroyGPUResources();
|
||||
} else {
|
||||
SPDLOG_ERROR("Kompute OpBase expected to free "
|
||||
SPDLOG_ERROR("Kompute OpTensorCreate expected to free "
|
||||
"tensor but has already been freed.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue