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

Method ReadRawChunk

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

Source from the content-addressed store, hash-verified

54}
55
56void NumpyFileWrapperGPU::ReadRawChunk(void* buffer, size_t bytes,
57 Index buffer_offset, Index file_offset) {
58 file_stream_->ReadAtGPU(static_cast<uint8_t *>(buffer),
59 bytes, buffer_offset, file_offset);
60}
61
62// we need to implement that but we should split parsing and reading in this case
63void NumpyLoaderGPU::ReadSample(NumpyFileWrapperGPU& target) {

Callers 1

ScheduleChunkedReadMethod · 0.80

Calls 1

ReadAtGPUMethod · 0.80

Tested by

no test coverage detected