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

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Converts the given value to a String. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.