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

Method Stream

python/mod_cvcuda/nvcv/Stream.cpp:200–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200Stream::Stream()
201 : m_owns(true)
202 , m_size_inbytes(doComputeSizeInBytes())
203{
204 try
205 {
206 util::CheckThrow(cudaStreamCreateWithFlags(&m_handle, cudaStreamNonBlocking));
207 incrementInstanceCount();
208 GetAuxStream();
209 util::CheckThrow(cudaEventCreateWithFlags(&m_event, cudaEventDisableTiming));
210 }
211 catch (...)
212 {
213 destroy();
214 throw;
215 }
216}
217
218Stream::Stream(IExternalStream &extStream)
219 : m_owns(false)

Callers 15

test_op___OPNAMELOW__Function · 0.45
test_op_conv2dvarshapeFunction · 0.45
test_op_gaussianFunction · 0.45
test_op_gaussianvarshapeFunction · 0.45
submitFunction · 0.45
test_op_copymakeborderFunction · 0.45
test_op_morphologyFunction · 0.45
test_op_remap_apiFunction · 0.45
test_op_histogrameqFunction · 0.45

Calls 3

wrappedObjectMethod · 0.80
CheckThrowFunction · 0.50
handleMethod · 0.45

Tested by 15

test_op___OPNAMELOW__Function · 0.36
test_op_conv2dvarshapeFunction · 0.36
test_op_gaussianFunction · 0.36
test_op_gaussianvarshapeFunction · 0.36
submitFunction · 0.36
test_op_copymakeborderFunction · 0.36
test_op_morphologyFunction · 0.36
test_op_remap_apiFunction · 0.36
test_op_histogrameqFunction · 0.36