Enum TargetISA

Source
pub enum TargetISA {
Show 74 variants Host, Generici16x16, Generici16x8, Generici1x16, Generici1x32, Generici1x4, Generici1x64, Generici1x8, Generici32x16, Generici32x4, Generici32x8, Generici64x4, Generici8x16, Generici8x32, SSE2i32x4, SSE2i32x8, SSE41i8x16, SSE41i16x8, SSE41i32x4, SSE41i32x8, SSE42i8x16, SSE42i16x8, SSE42i32x4, SSE42i32x8, SSE4i8x16, SSE4i16x8, SSE4i32x4, SSE4i32x8, AVX1i32x4, AVX1i32x8, AVX1i32x16, AVX1i64x4, AVX2i32x8, AVX2i32x16, AVX2i64x4, AVX2i8x32, AVX2i16x16, AVX2i32x4, AVX2VNNIi32x4, AVX2VNNIi32x8, AVX2VNNIi32x16, AVX512KNLi32x16, AVX512SKXi32x16, AVX512SKXi32x8, AVX512KNLx16, AVX512SKXx4, AVX512SKXx8, AVX512SKXx16, AVX512SKXx32, AVX512SKXx64, AVX512ICLx4, AVX512ICLx8, AVX512ICLx16, AVX512ICLx32, AVX512ICLx64, AVX512SPRx4, AVX512SPRx8, AVX512SPRx16, AVX512SPRx32, AVX512SPRx64, Neoni8x16, Neoni8x32, Neoni16x8, Neoni16x16, Neoni32x4, Neoni32x8, GEN9x8, GEN9x16, XELPx8, XELPx16, XEHPGx8, XEHPGx16, XEHPCx16, XEHPCx32,
}
Expand description

Target instruction sets and vector widths available to specialize for. The default if none is set will be the host CPU’s ISA and vector width.

Variants§

§

Host

§

Generici16x16

§

Generici16x8

§

Generici1x16

§

Generici1x32

§

Generici1x4

§

Generici1x64

§

Generici1x8

§

Generici32x16

§

Generici32x4

§

Generici32x8

§

Generici64x4

§

Generici8x16

§

Generici8x32

§

SSE2i32x4

§

SSE2i32x8

§

SSE41i8x16

§

SSE41i16x8

§

SSE41i32x4

§

SSE41i32x8

§

SSE42i8x16

§

SSE42i16x8

§

SSE42i32x4

§

SSE42i32x8

§

SSE4i8x16

§

SSE4i16x8

§

SSE4i32x4

§

SSE4i32x8

§

AVX1i32x4

§

AVX1i32x8

§

AVX1i32x16

§

AVX1i64x4

§

AVX2i32x8

§

AVX2i32x16

§

AVX2i64x4

§

AVX2i8x32

§

AVX2i16x16

§

AVX2i32x4

§

AVX2VNNIi32x4

§

AVX2VNNIi32x8

§

AVX2VNNIi32x16

§

AVX512KNLi32x16

👎Deprecated: Use AVX512KNLx16 instead
§

AVX512SKXi32x16

👎Deprecated: Use AVX512SKXx16 instead
§

AVX512SKXi32x8

👎Deprecated: Use AVX512SKXx8 instead
§

AVX512KNLx16

👎Deprecated: Removed in ISPC 1.26
§

AVX512SKXx4

§

AVX512SKXx8

§

AVX512SKXx16

§

AVX512SKXx32

§

AVX512SKXx64

§

AVX512ICLx4

§

AVX512ICLx8

§

AVX512ICLx16

§

AVX512ICLx32

§

AVX512ICLx64

§

AVX512SPRx4

§

AVX512SPRx8

§

AVX512SPRx16

§

AVX512SPRx32

§

AVX512SPRx64

§

Neoni8x16

§

Neoni8x32

§

Neoni16x8

§

Neoni16x16

§

Neoni32x4

§

Neoni32x8

§

GEN9x8

👎Deprecated: Will be removed in future ispc release
§

GEN9x16

👎Deprecated: Will be removed in future ispc release
§

XELPx8

§

XELPx16

§

XEHPGx8

§

XEHPGx16

§

XEHPCx16

§

XEHPCx32

Implementations§

Source§

impl TargetISA

Source

pub fn lib_suffix(&self) -> String

Returns the library-suffix associated with the target. Adjust these strings to match your naming conventions.

Trait Implementations§

Source§

impl Clone for TargetISA

Source§

fn clone(&self) -> TargetISA

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Display for TargetISA

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl PartialEq for TargetISA

Source§

fn eq(&self, other: &TargetISA) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for TargetISA

Source§

impl Eq for TargetISA

Source§

impl StructuralPartialEq for TargetISA

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.