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

Method copy

include/dali/core/dev_buffer.h:126–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 }
125
126 void copy(const DeviceBuffer &src, AccessOrder order = {}) {
127 clear();
128 resize(src.size());
129 copyD2D(data_.get(), src.data(), size(), order);
130 }
131
132 void reserve(size_t new_cap, AccessOrder order = {}) {
133 if (new_cap > capacity_) {

Callers 1

gather_filesFunction · 0.45

Calls 6

copyD2DFunction · 0.85
resizeFunction · 0.70
sizeFunction · 0.70
sizeMethod · 0.45
getMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected