#[non_exhaustive]#[repr(u32)]pub enum JitMode {
None = 0,
Default = 1,
}Expand description
Controls cuTENSOR just-in-time compilation behavior.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None = 0
Indicates that no kernel is just-in-time compiled.
Default = 1
Indicates that the corresponding plan tries to compile a dedicated kernel for the given operation. Only supported for GPUs with compute capability >= 8.0 (Ampere or newer).
Trait Implementations§
impl Copy for JitMode
impl Eq for JitMode
Source§impl From<JitMode> for cutensorJitMode_t
impl From<JitMode> for cutensorJitMode_t
Source§impl From<cutensorJitMode_t> for JitMode
impl From<cutensorJitMode_t> for JitMode
Source§fn from(value: cutensorJitMode_t) -> Self
fn from(value: cutensorJitMode_t) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for JitMode
Auto Trait Implementations§
impl Freeze for JitMode
impl RefUnwindSafe for JitMode
impl Send for JitMode
impl Sync for JitMode
impl Unpin for JitMode
impl UnsafeUnpin for JitMode
impl UnwindSafe for JitMode
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