MCPcopy Create free account
hub / github.com/a2flo/floor / zero

Method zero

src/device/host/host_buffer.cpp:195–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195bool host_buffer::zero(const device_queue& cqueue floor_unused) {
196 if (!buffer) return false;
197
198 GUARD(lock);
199 memset(buffer.get(), 0, size);
200 return true;
201}
202
203void* __attribute__((aligned(128))) host_buffer::map(const device_queue& cqueue,
204 const MEMORY_MAP_FLAG flags_,

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected