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

Method Reopen

dali/operators/reader/loader/numpy_loader_gpu.cc:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void NumpyFileWrapperGPU::Reopen() {
30 FileStream::Options opts;
31 opts.read_ahead = read_ahead;
32 opts.use_mmap = false;
33 opts.use_odirect = false;
34 file_stream_ = CUFileStream::Open(filename, opts);
35}
36
37void NumpyFileWrapperGPU::ReadHeader(detail::NumpyHeaderCache &cache) {
38 numpy::HeaderData header;

Callers 1

PrefetchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected