MCPcopy 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

26void CpuDevice::SetAsActiveDevice() {}
27
28Stream* CpuDevice::CreateStream() { return new CpuStream(this); }
29
30void CpuDevice::DestroyStream(Stream* stream) { delete stream; }
31

Callers 7

CpuStreamContextMethod · 0.45
GenericStreamContextMethod · 0.45
CudaStreamContextMethod · 0.45
ApplyMethod · 0.45
TestCacheFunction · 0.45
TestKeyValueStoreFunction · 0.45
StreamGuardMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestCacheFunction · 0.36
TestKeyValueStoreFunction · 0.36
StreamGuardMethod · 0.36