MCPcopy Create free account
hub / github.com/Niko1221/Strata / zero

Function zero

engine/src/kernels/kv_steps_parity.cpp:44–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43template <typename T>
44void zero(T* d, size_t n) { ck(cudaMemset(d, 0, n * sizeof(T) + 64), "zero"); }
45bool same(const void* a, const void* b, size_t bytes) { return std::memcmp(a, b, bytes) == 0; }
46} // namespace
47

Callers 4

mainFunction · 0.70
vr_zeroFunction · 0.50
microFunction · 0.50
resetMethod · 0.50

Calls 2

ckFunction · 0.70
cudaMemsetFunction · 0.50

Tested by

no test coverage detected