MCPcopy Create free account
hub / github.com/Niko1221/Strata / S

Function S

engine/metal/src/gpu/runtime.cpp:130–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130StreamImpl* S(Stream s) {
131 if (s) return s;
132 Runtime& r = rt();
133 std::lock_guard<std::mutex> lk(r.mu);
134 if (!r.legacy) r.legacy = make_stream();
135 return r.legacy;
136}
137
138/// The allocation that holds GPU address `p` (or CPU address `p` of a host allocation), with the offset into it.
139const Alloc* find(const void* p, size_t* off) {

Callers 14

device_synchronizeFunction · 0.70
memset_deviceFunction · 0.70
memset_asyncFunction · 0.70
memcpy_syncFunction · 0.70
memcpy_asyncFunction · 0.70
stream_synchronizeFunction · 0.70
stream_queryFunction · 0.70
stream_wait_eventFunction · 0.70
launch_host_funcFunction · 0.70
event_recordFunction · 0.70
begin_captureFunction · 0.70
end_captureFunction · 0.70

Calls 1

make_streamFunction · 0.85

Tested by

no test coverage detected