MCPcopy Create free account
hub / github.com/NVIDIA/DALI / SetStream

Method SetStream

dali/python/backend_impl.cc:2815–2818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2813 }
2814
2815 void SetStream(py::object cuda_stream) {
2816 set_output_order(AccessOrderFromPythonStreamObj(cuda_stream));
2817 py_stream_ = cuda_stream; // keep the stream python object alive
2818 }
2819
2820 private:
2821 std::shared_ptr<ThreadPool> shared_thread_pool_;

Callers 4

ExposeWorkspaceFunction · 0.45
test_argument_inputFunction · 0.45

Calls 1

Tested by 3

test_argument_inputFunction · 0.36