pub enum FallbackStrategy {
PreferPtx = 0,
PreferBinary = 1,
}Expand description
Strategy when an exact binary match is not found for the target GPU.
Maps to CU_JIT_FALLBACK_STRATEGY values.
Variants§
PreferPtx = 0
Prefer to compile from PTX if binary is not available (default).
PreferBinary = 1
Prefer a compatible binary over PTX recompilation.
Implementations§
Trait Implementations§
Source§impl Clone for FallbackStrategy
impl Clone for FallbackStrategy
Source§fn clone(&self) -> FallbackStrategy
fn clone(&self) -> FallbackStrategy
Returns a duplicate 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 FallbackStrategy
impl Debug for FallbackStrategy
Source§impl Default for FallbackStrategy
impl Default for FallbackStrategy
Source§fn default() -> FallbackStrategy
fn default() -> FallbackStrategy
Returns the “default value” for a type. Read more
Source§impl Hash for FallbackStrategy
impl Hash for FallbackStrategy
Source§impl PartialEq for FallbackStrategy
impl PartialEq for FallbackStrategy
impl Copy for FallbackStrategy
impl Eq for FallbackStrategy
impl StructuralPartialEq for FallbackStrategy
Auto Trait Implementations§
impl Freeze for FallbackStrategy
impl RefUnwindSafe for FallbackStrategy
impl Send for FallbackStrategy
impl Sync for FallbackStrategy
impl Unpin for FallbackStrategy
impl UnsafeUnpin for FallbackStrategy
impl UnwindSafe for FallbackStrategy
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