MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / doComputeSizeInBytes

Method doComputeSizeInBytes

python/mod_cvcuda/nvcv/Array.cpp:195–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195int64_t Array::doComputeSizeInBytes(const nvcv::Array::Requirements &reqs)
196{
197 int64_t size_inbytes;
198 util::CheckThrow(nvcvMemRequirementsCalcTotalSizeBytes(&(reqs.mem.cudaMem), &size_inbytes));
199 return size_inbytes;
200}
201
202int64_t Array::GetSizeInBytes() const
203{

Callers

nothing calls this directly

Calls 1

CheckThrowFunction · 0.50

Tested by

no test coverage detected