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

Method ParallelForImpl

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

Source from the content-addressed store, hash-verified

63class SeqRuntime final : public RuntimeBase {
64 private:
65 void ParallelForImpl(int64_t begin, int64_t end, const CallableT& func, size_t num_threads,
66 size_t grain_size) override {
67 return SeqFor(begin, end, func);
68 }
69};
70
71class OfRuntime final : public RuntimeBase {

Callers

nothing calls this directly

Calls 1

SeqForFunction · 0.85

Tested by

no test coverage detected