pub enum CPU {
Show 19 variants
Generic,
Bonnell,
Core2,
Penryn,
Nehalem,
Ps4,
SandyBridge,
IvyBridge,
Haswell,
Broadwell,
Knl,
Skx,
Icl,
Silvermont,
CoretexA15,
CoretexA9,
CoretexA35,
CoretexA53,
CoretexA57,
}
Expand description
ISPC target CPU ISA options, if none is set ISPC will target the machine being compile on.
Variants
Generic
Bonnell
Synonym for Atom target
Core2
Penryn
Nehalem
Synonym for corei7 target
Ps4
Synonym for btver2
SandyBridge
Synonym for corei7-avx
IvyBridge
Synonym for core-avx-i target
Haswell
Synonym for core-avx2 target
Broadwell
Knl
Skx
Icl
Silvermont
Synonym for slm target
CoretexA15
CoretexA9
CoretexA35
CoretexA53
CoretexA57
Trait Implementations
impl Eq for CPU
impl StructuralEq for CPU
impl StructuralPartialEq for CPU
Auto Trait Implementations
impl RefUnwindSafe for CPU
impl Send for CPU
impl Sync for CPU
impl Unpin for CPU
impl UnwindSafe for CPU
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