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

Function GetCurrentStream

dali/operators/python_function/dltensor_function.cc:180–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178static cudaStream_t current_cuda_stream = nullptr;
179
180cudaStream_t GetCurrentStream() {
181 return current_cuda_stream;
182}
183
184void SetCurrentStream(cudaStream_t stream) {
185 current_cuda_stream = stream;

Callers 2

PYBIND11_MODULEFunction · 0.85
StreamSynchronizerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected