Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ CreateStream
Method
CreateStream
oneflow/core/ep/cpu/cpu_device.cpp:28–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
void CpuDevice::SetAsActiveDevice() {}
27
28
Stream* CpuDevice::CreateStream() { return new CpuStream(this); }
29
30
void CpuDevice::DestroyStream(Stream* stream) { delete stream; }
31
Callers
7
CpuStreamContext
Method · 0.45
GenericStreamContext
Method · 0.45
CudaStreamContext
Method · 0.45
Apply
Method · 0.45
TestCache
Function · 0.45
TestKeyValueStore
Function · 0.45
StreamGuard
Method · 0.45
Calls
no outgoing calls
Tested by
3
TestCache
Function · 0.36
TestKeyValueStore
Function · 0.36
StreamGuard
Method · 0.36