Enum ispc_compile::opt::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§
source§impl Ord for OptimizationOpt
impl Ord for OptimizationOpt
source§fn cmp(&self, other: &OptimizationOpt) -> Ordering
fn cmp(&self, other: &OptimizationOpt) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OptimizationOpt
impl PartialEq for OptimizationOpt
source§fn eq(&self, other: &OptimizationOpt) -> bool
fn eq(&self, other: &OptimizationOpt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OptimizationOpt
impl PartialOrd for OptimizationOpt
source§fn partial_cmp(&self, other: &OptimizationOpt) -> Option<Ordering>
fn partial_cmp(&self, other: &OptimizationOpt) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl 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§
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