HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OrtTensorRTProviderOptions Struct Reference

TensorRT Provider Options. More...

#include <onnxruntime_c_api.h>

Public Attributes

int device_id
 CUDA device id (0 = default device) More...
 
int has_user_compute_stream
 
voiduser_compute_stream
 
int trt_max_partition_iterations
 
int trt_min_subgraph_size
 
size_t trt_max_workspace_size
 
int trt_fp16_enable
 
int trt_int8_enable
 
const char * trt_int8_calibration_table_name
 
int trt_int8_use_native_calibration_table
 
int trt_dla_enable
 
int trt_dla_core
 
int trt_dump_subgraphs
 
int trt_engine_cache_enable
 
const char * trt_engine_cache_path
 
int trt_engine_decryption_enable
 
const char * trt_engine_decryption_lib_path
 
int trt_force_sequential_engine_build
 

Detailed Description

TensorRT Provider Options.

See Also
OrtApi::SessionOptionsAppendExecutionProvider_TensorRT

Definition at line 517 of file onnxruntime_c_api.h.

Member Data Documentation

int OrtTensorRTProviderOptions::device_id

CUDA device id (0 = default device)

Definition at line 518 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::has_user_compute_stream

Definition at line 519 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_dla_core

Definition at line 529 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_dla_enable

Definition at line 528 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_dump_subgraphs

Definition at line 530 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_engine_cache_enable

Definition at line 531 of file onnxruntime_c_api.h.

const char* OrtTensorRTProviderOptions::trt_engine_cache_path

Definition at line 532 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_engine_decryption_enable

Definition at line 533 of file onnxruntime_c_api.h.

const char* OrtTensorRTProviderOptions::trt_engine_decryption_lib_path

Definition at line 534 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_force_sequential_engine_build

Definition at line 535 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_fp16_enable

Definition at line 524 of file onnxruntime_c_api.h.

const char* OrtTensorRTProviderOptions::trt_int8_calibration_table_name

Definition at line 526 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_int8_enable

Definition at line 525 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_int8_use_native_calibration_table

Definition at line 527 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_max_partition_iterations

Definition at line 521 of file onnxruntime_c_api.h.

size_t OrtTensorRTProviderOptions::trt_max_workspace_size

Definition at line 523 of file onnxruntime_c_api.h.

int OrtTensorRTProviderOptions::trt_min_subgraph_size

Definition at line 522 of file onnxruntime_c_api.h.

void* OrtTensorRTProviderOptions::user_compute_stream

Definition at line 520 of file onnxruntime_c_api.h.


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