OpenCV 5.0.0-pre
Open Source Computer Vision
|
This structure provides functions that fill inference options for CUDA Execution Provider. Please follow https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#cuda-execution-provider. More...
#include <opencv2/gapi/infer/onnx.hpp>
Public Member Functions | |
GAPI_WRAP | CUDA (const int dev_id) |
Class constructor. | |
Public Attributes | |
int | device_id |
This structure provides functions that fill inference options for CUDA Execution Provider. Please follow https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#cuda-execution-provider.
|
inlineexplicit |
Class constructor.
Constructs CUDA parameters based on device type information.
dev_id | Target device id to use. |
int cv::gapi::onnx::ep::CUDA::device_id |