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

Function ThreadLocalSrcDataPtr

oneflow/user/kernels/communicate_util.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace {
26
27const void** ThreadLocalSrcDataPtr() {
28 static thread_local const void* data_ptr = nullptr;
29 return &data_ptr;
30}
31
32} // namespace
33

Callers 2

SendFunction · 0.85
RecvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected