#[repr(C)]pub struct OrtROCMProviderOptions {
pub device_id: c_int,
pub miopen_conv_exhaustive_search: c_int,
pub gpu_mem_limit: usize,
pub arena_extend_strategy: c_int,
}
Expand description
Options for the ROCM provider that are passed to SessionOptionsAppendExecutionProvider_ROCM
Fields§
§device_id: c_int
§miopen_conv_exhaustive_search: c_int
§gpu_mem_limit: usize
§arena_extend_strategy: c_int
Trait Implementations§
Source§impl Clone for OrtROCMProviderOptions
impl Clone for OrtROCMProviderOptions
Source§fn clone(&self) -> OrtROCMProviderOptions
fn clone(&self) -> OrtROCMProviderOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OrtROCMProviderOptions
impl Debug for OrtROCMProviderOptions
impl Copy for OrtROCMProviderOptions
Auto Trait Implementations§
impl Freeze for OrtROCMProviderOptions
impl RefUnwindSafe for OrtROCMProviderOptions
impl Send for OrtROCMProviderOptions
impl Sync for OrtROCMProviderOptions
impl Unpin for OrtROCMProviderOptions
impl UnwindSafe for OrtROCMProviderOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more