MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / Current

Method Current

python/mod_cvcuda/include/nvcv/python/Stream.hpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 Stream() = default;
34
35 static Stream Current()
36 {
37 py::object temp = py::reinterpret_borrow<py::object>(capi().Stream_GetCurrent());
38 CheckCAPIError();
39 NVCV_ASSERT(temp.is_none() == false);
40 return Stream(temp);
41 }
42
43 cudaStream_t cudaHandle() const
44 {

Callers

nothing calls this directly

Calls 2

CheckCAPIErrorFunction · 0.85
StreamClass · 0.70

Tested by

no test coverage detected