Enum nvvm::NvvmOption [−][src]
pub enum NvvmOption {
GenDebugInfo,
GenLineInfo,
NoOpts,
Arch(NvvmArch),
Ftz,
FastSqrt,
FastDiv,
NoFmaContraction,
}
Variants
GenDebugInfo
Generate debug info, valid only with an opt-level of 0
(-g
).
GenLineInfo
Generate line number info (-generate-line-info
).
NoOpts
Whether to disable optimizations (opt level 0).
Arch(NvvmArch)
Tuple Fields
0: NvvmArch
The NVVM arch to use.
Ftz
Whether to flush denormal values to zero when performing single-precision floating point operations. False by default.
FastSqrt
Whether to use a fast approximation for sqrt instead of IEEE round-to-nearest mode for single-precision float square root.
FastDiv
Whether to use a fast approximation for div and reciprocal instead of IEEE round-to-nearest mode for single-precision float division.
NoFmaContraction
Whether to enable FMA contraction.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NvvmOption
impl Send for NvvmOption
impl Sync for NvvmOption
impl Unpin for NvvmOption
impl UnwindSafe for NvvmOption
Blanket Implementations
Mutably borrows from an owned value. Read more