MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / SeqFor

Function SeqFor

oneflow/core/thread/thread_runtime.h:43–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41using CallableT = std::function<void(int64_t, int64_t)>;
42
43void SeqFor(int64_t begin, int64_t end, const CallableT& func) { func(begin, end); }
44
45size_t DivUp(size_t x, size_t y) { return (x + y - 1) / y; }
46

Callers 6

ParallelForMethod · 0.85
ParallelForImplMethod · 0.85
ParallelForImplMethod · 0.85
FOR_RANGEMethod · 0.85
ParallelForImplMethod · 0.85
ParallelForImplMethod · 0.85

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected