Loading...
Searching...
No Matches
cv::gapi::onnx::ep::CUDA Struct Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CUDA()

GAPI_WRAP cv::gapi::onnx::ep::CUDA::CUDA ( const int  dev_id)
inlineexplicit

Class constructor.

Constructs CUDA parameters based on device type information.

Parameters
dev_idTarget device id to use.

Member Data Documentation

◆ device_id

int cv::gapi::onnx::ep::CUDA::device_id

The documentation for this struct was generated from the following file: