43#ifndef OPENCV_CORE_CUDA_STREAM_ACCESSOR_HPP
44#define OPENCV_CORE_CUDA_STREAM_ACCESSOR_HPP
47# error cuda_stream_accessor.hpp header must be compiled as C++
54#include <cuda_runtime.h>
55#include "opencv2/core/cuda.hpp"
69 CV_EXPORTS
static cudaStream_t getStream(
const Stream& stream);
70 CV_EXPORTS
static Stream wrapStream(cudaStream_t stream);
77 CV_EXPORTS
static cudaEvent_t getEvent(
const Event& event);
78 CV_EXPORTS
static Event wrapEvent(cudaEvent_t event);
Definition: core/cuda.hpp:917
This class encapsulates a queue of asynchronous calls.
Definition: core/cuda.hpp:849
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Class that enables getting cudaEvent_t from cuda::Event
Definition: cuda_stream_accessor.hpp:76
Class that enables getting cudaStream_t from cuda::Stream
Definition: cuda_stream_accessor.hpp:68