#[non_exhaustive]#[repr(u32)]pub enum JitOption {
Show 31 variants
MaxRegisters = 0,
ThreadsPerBlock = 1,
WallTime = 2,
InfoLogBuffer = 3,
InfoLogBufferSizeBytes = 4,
ErrorLogBuffer = 5,
ErrorLogBufferSizeBytes = 6,
OptimizationLevel = 7,
TargetFromCudaContext = 8,
Target = 9,
FallbackStrategy = 10,
GenerateDebugInfo = 11,
LogVerbose = 12,
GenerateLineInfo = 13,
CacheMode = 14,
NewSm3xOpt = 15,
FastCompile = 16,
GlobalSymbolNames = 17,
GlobalSymbolAddresses = 18,
GlobalSymbolCount = 19,
Lto = 20,
Ftz = 21,
PrecDiv = 22,
PrecSqrt = 23,
Fma = 24,
ReferencedKernelNames = 25,
ReferencedKernelCount = 26,
ReferencedVariableNames = 27,
ReferencedVariableCount = 28,
OptimizeUnusedDeviceVariables = 29,
NumOptions = 36,
}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.
MaxRegisters = 0
ThreadsPerBlock = 1
WallTime = 2
InfoLogBuffer = 3
InfoLogBufferSizeBytes = 4
ErrorLogBuffer = 5
ErrorLogBufferSizeBytes = 6
OptimizationLevel = 7
TargetFromCudaContext = 8
Target = 9
FallbackStrategy = 10
GenerateDebugInfo = 11
LogVerbose = 12
GenerateLineInfo = 13
CacheMode = 14
NewSm3xOpt = 15
👎Deprecated
FastCompile = 16
GlobalSymbolNames = 17
GlobalSymbolAddresses = 18
GlobalSymbolCount = 19
Lto = 20
👎Deprecated
Ftz = 21
👎Deprecated
PrecDiv = 22
👎Deprecated
PrecSqrt = 23
👎Deprecated
Fma = 24
👎Deprecated
ReferencedKernelNames = 25
👎Deprecated
ReferencedKernelCount = 26
👎Deprecated
ReferencedVariableNames = 27
👎Deprecated
ReferencedVariableCount = 28
👎Deprecated
OptimizeUnusedDeviceVariables = 29
👎Deprecated
NumOptions = 36
Trait Implementations§
impl Copy for JitOption
impl Eq for JitOption
Source§impl From<CUjit_option_enum> for JitOption
impl From<CUjit_option_enum> for JitOption
Source§fn from(value: cudaJitOption) -> Self
fn from(value: cudaJitOption) -> Self
Converts to this type from the input type.
Source§impl From<JitOption> for cudaJitOption
impl From<JitOption> for cudaJitOption
impl StructuralPartialEq for JitOption
Auto Trait Implementations§
impl Freeze for JitOption
impl RefUnwindSafe for JitOption
impl Send for JitOption
impl Sync for JitOption
impl Unpin for JitOption
impl UnsafeUnpin for JitOption
impl UnwindSafe for JitOption
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