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

Function build_single

engine/src/kernels/expdec_bench.cpp:191–202  ·  view source on GitHub ↗

single: kTop T groups of one entry each (token g % T)

Source from the content-addressed store, hash-verified

189}
190// single: kTop T groups of one entry each (token g % T)
191Window build_single(int T) {
192 Window w;
193 w.groups = kTop * T;
194 w.start.push_back(0);
195 for (int g = 0; g < w.groups; ++g) {
196 w.tok.push_back(g % T);
197 w.dst.push_back(g);
198 w.start.push_back(g + 1);
199 }
200 w.entries = w.groups;
201 return w;
202}
203
204struct DevMem {
205 std::vector<void*> ptrs;

Callers 1

run_deviceFunction · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected