pub struct ROCm { /* private fields */ }Available on crate feature
rocm only.Implementations§
Source§impl ROCm
impl ROCm
pub fn with_device_id(self, device_id: i32) -> Self
pub fn with_exhaustive_conv_search(self, enable: bool) -> Self
pub fn with_conv_use_max_workspace(self, enable: bool) -> Self
pub fn with_mem_limit(self, limit: usize) -> Self
pub fn with_arena_extend_strategy(self, strategy: ArenaExtendStrategy) -> Self
pub fn with_copy_in_default_stream(self, enable: bool) -> Self
pub fn with_compute_stream(self, ptr: *mut c_void) -> Self
pub fn with_hip_graph(self, enable: bool) -> Self
pub fn with_tunable_op(self, enable: bool) -> Self
pub fn with_tuning(self, enable: bool) -> Self
pub fn with_max_tuning_duration(self, ms: i32) -> Self
Trait Implementations§
Source§impl ArbitrarilyConfigurableExecutionProvider for ROCm
impl ArbitrarilyConfigurableExecutionProvider for ROCm
fn with_arbitrary_config(self, key: impl ToString, value: impl ToString) -> Self
Source§impl ExecutionProvider for ROCm
impl ExecutionProvider for ROCm
Auto Trait Implementations§
impl Freeze for ROCm
impl RefUnwindSafe for ROCm
impl Send for ROCm
impl Sync for ROCm
impl Unpin for ROCm
impl UnsafeUnpin for ROCm
impl UnwindSafe for ROCm
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