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

Method Launch

oneflow/core/kernel/kernel.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void Kernel::Launch(KernelContext* ctx) const {
53 SyncVmModeGuard guard(SyncVmMode::kEnable);
54 ctx->WillForward(ctx, this);
55 Forward(ctx);
56 ctx->DidForward(ctx, this);
57}
58
59void Kernel::Forward(KernelContext* ctx) const {
60 ctx->WillForwardHeader(ctx, this);

Callers 15

CopyMethod · 0.45
LaunchKernelMethod · 0.45
AsyncLaunchKernelMethod · 0.45
AssignNanSumMethod · 0.45
ForwardDataContentMethod · 0.45
FOR_RANGEFunction · 0.45
AutoMemcpyFunction · 0.45
AutoMemsetFunction · 0.45
ForwardDataContentMethod · 0.45
MemcpyFunction · 0.45
MemsetFunction · 0.45
CalcSumOfBlobsFunction · 0.45

Calls 3

ForwardFunction · 0.85
WillForwardMethod · 0.45
DidForwardMethod · 0.45

Tested by

no test coverage detected