Struct onnxruntime_sys::OrtCUDAProviderOptions[][src]

#[repr(C)]pub struct OrtCUDAProviderOptions {
    pub device_id: c_int,
    pub cudnn_conv_algo_search: OrtCudnnConvAlgoSearch,
    pub cuda_mem_limit: size_t,
    pub arena_extend_strategy: c_int,
    pub do_copy_in_default_stream: c_int,
}
Options for the CUDA provider that are passed to SessionOptionsAppendExecutionProvider_CUDA

Fields

device_id: c_intcudnn_conv_algo_search: OrtCudnnConvAlgoSearchcuda_mem_limit: size_tarena_extend_strategy: c_intdo_copy_in_default_stream: c_int

Trait Implementations

impl Clone for OrtCUDAProviderOptions[src]

impl Copy for OrtCUDAProviderOptions[src]

impl Debug for OrtCUDAProviderOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.