MCPcopy Create free account
hub / github.com/NVIDIA/DALI / CacheLoad

Method CacheLoad

dali/operators/decoder/cache/cached_decoder_impl.cc:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49bool CachedDecoderImpl::CacheLoad(const std::string& file_name,
50 uint8_t *output_data,
51 cudaStream_t stream) {
52 if (!cache_ || file_name.empty())
53 return false;
54 return cache_->Read(file_name, output_data, stream);
55}
56
57
58bool CachedDecoderImpl::DeferCacheLoad(const std::string& file_name, uint8_t *output_data) {

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected