Struct onnxruntime_sys::OrtCUDAProviderOptions [−][src]
#[repr(C)]pub struct OrtCUDAProviderOptions { pub device_id: c_int, pub cudnn_conv_algo_search: OrtCudnnConvAlgoSearch, pub gpu_mem_limit: usize, pub arena_extend_strategy: c_int, pub do_copy_in_default_stream: c_int, pub has_user_compute_stream: c_int, pub user_compute_stream: *mut c_void, pub default_memory_arena_cfg: *mut OrtArenaCfg, }
Expand description
Options for the CUDA provider that are passed to SessionOptionsAppendExecutionProvider_CUDA
Fields
device_id: c_int
cudnn_conv_algo_search: OrtCudnnConvAlgoSearch
gpu_mem_limit: usize
arena_extend_strategy: c_int
do_copy_in_default_stream: c_int
has_user_compute_stream: c_int
user_compute_stream: *mut c_void
default_memory_arena_cfg: *mut OrtArenaCfg
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OrtCUDAProviderOptions
impl !Send for OrtCUDAProviderOptions
impl !Sync for OrtCUDAProviderOptions
impl Unpin for OrtCUDAProviderOptions
impl UnwindSafe for OrtCUDAProviderOptions
Blanket Implementations
Mutably borrows from an owned value. Read more