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_intcudnn_conv_algo_search: OrtCudnnConvAlgoSearchgpu_mem_limit: usizearena_extend_strategy: c_intdo_copy_in_default_stream: c_inthas_user_compute_stream: c_intuser_compute_stream: *mut c_voiddefault_memory_arena_cfg: *mut OrtArenaCfg

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.