pub struct NVRTX { /* private fields */ }Available on crate feature
nvrtx only.Implementations§
Source§impl NVRTX
impl NVRTX
pub fn with_device_id(self, device_id: u32) -> Self
Sourcepub unsafe fn with_compute_stream(self, stream: *mut ()) -> Self
pub unsafe fn with_compute_stream(self, stream: *mut ()) -> Self
Use a custom CUDA device stream rather than the default one.
§Safety
The provided stream must outlive the environment/session configured to use this execution provider.
pub fn with_cuda_graph(self, enable: bool) -> Self
pub fn with_max_workspace(self, limit: usize) -> Self
pub fn with_profile_min_shapes(self, shapes: impl ToString) -> Self
pub fn with_profile_max_shapes(self, shapes: impl ToString) -> Self
pub fn with_profile_opt_shapes(self, shapes: impl ToString) -> Self
pub fn with_multi_profile(self, enable: bool) -> Self
pub fn with_runtime_cache_path(self, path: impl ToString) -> Self
Trait Implementations§
Source§impl ArbitrarilyConfigurableExecutionProvider for NVRTX
impl ArbitrarilyConfigurableExecutionProvider for NVRTX
fn with_arbitrary_config(self, key: impl ToString, value: impl ToString) -> Self
Source§impl ExecutionProvider for NVRTX
impl ExecutionProvider for NVRTX
Auto Trait Implementations§
impl Freeze for NVRTX
impl RefUnwindSafe for NVRTX
impl Send for NVRTX
impl Sync for NVRTX
impl Unpin for NVRTX
impl UnsafeUnpin for NVRTX
impl UnwindSafe for NVRTX
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