Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
25
namespace {
26
27
const void** ThreadLocalSrcDataPtr() {
28
static thread_local const void* data_ptr = nullptr;
29
return &data_ptr;
30
}
31
32
} // namespace
33
Callers
2
Send
Function · 0.85
Recv
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected