MCPcopy Create free account
hub / github.com/ml-explore/mlx / get_streams

Function get_streams

mlx/stream.cpp:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60std::vector<Stream> get_streams() {
61 auto& [streams, mtx] = all_streams();
62 std::shared_lock lock(mtx);
63 return streams;
64}
65
66Stream new_stream(Device d) {
67 auto& [streams, mtx] = all_streams();

Callers 2

resolve_streamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected