Enum ispc::OptimizationOpt
source · [−]pub enum OptimizationOpt {
DisableAssertions,
DisableFMA,
DisableLoopUnroll,
FastMaskedVload,
FastMath,
ForceAlignedMemory,
DisableZmm,
}
Expand description
ISPC optimization options.
Variants
DisableAssertions
Remove assertion statements from final code.
DisableFMA
Disable ‘fused multiply-add’ instructions (on targets that support them).
DisableLoopUnroll
Disable loop unrolling.
FastMaskedVload
Faster masked vector loads on SSE (may go past end of array).
FastMath
Perform non-IEEE-compliant optimizations of numeric expressions.
ForceAlignedMemory
Always issue aligned vector load and store instructions.
DisableZmm
Disable using zmm registers in favor of ymm on avx512skx-i32x16 (ISPC 1.13+)
Trait Implementations
sourceimpl Ord for OptimizationOpt
impl Ord for OptimizationOpt
sourceimpl PartialEq<OptimizationOpt> for OptimizationOpt
impl PartialEq<OptimizationOpt> for OptimizationOpt
sourceimpl PartialOrd<OptimizationOpt> for OptimizationOpt
impl PartialOrd<OptimizationOpt> for OptimizationOpt
sourcefn partial_cmp(&self, other: &OptimizationOpt) -> Option<Ordering>
fn partial_cmp(&self, other: &OptimizationOpt) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl ToString for OptimizationOpt
impl ToString for OptimizationOpt
impl Eq for OptimizationOpt
impl StructuralEq for OptimizationOpt
impl StructuralPartialEq for OptimizationOpt
Auto Trait Implementations
impl RefUnwindSafe for OptimizationOpt
impl Send for OptimizationOpt
impl Sync for OptimizationOpt
impl Unpin for OptimizationOpt
impl UnwindSafe for OptimizationOpt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more