format
This commit is contained in:
parent
f62e353f4a
commit
aa75fdae47
6 changed files with 39 additions and 34 deletions
|
|
@ -232,7 +232,8 @@ Tensor::mapDataFromHostMemory()
|
|||
} else if (this->mTensorType == TensorTypes::eDevice) {
|
||||
hostVisibleMemory = this->mStagingMemory;
|
||||
} else {
|
||||
SPDLOG_WARN("Kompute Tensor mapping data not supported on storage tensor");
|
||||
SPDLOG_WARN(
|
||||
"Kompute Tensor mapping data not supported on storage tensor");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -258,7 +259,8 @@ Tensor::mapDataIntoHostMemory()
|
|||
} else if (this->mTensorType == TensorTypes::eDevice) {
|
||||
hostVisibleMemory = this->mStagingMemory;
|
||||
} else {
|
||||
SPDLOG_WARN("Kompute Tensor mapping data not supported on storage tensor");
|
||||
SPDLOG_WARN(
|
||||
"Kompute Tensor mapping data not supported on storage tensor");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue