Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KomputeProject/kompute
/ memorySize
Method
memorySize
src/Tensor.cpp:122–126 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
120
}
121
122
uint32_t
123
Tensor::memorySize()
124
{
125
return this->mSize * this->mDataTypeMemorySize;
126
}
127
128
kp::Tensor::TensorDataTypes
129
Tensor::dataType()
Callers
10
rebuild
Method · 0.95
setRawData
Method · 0.95
mapRawData
Method · 0.95
unmapRawData
Method · 0.95
recordCopyFrom
Method · 0.95
recordCopyFromStagingToDevice
Method · 0.95
recordCopyFromDeviceToStaging
Method · 0.95
recordBufferMemoryBarrier
Method · 0.95
constructDescriptorBufferInfo
Method · 0.95
createBuffer
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected