[][src]Struct ispc::exec::Parallel

pub struct Parallel { /* fields omitted */ }

A multithreaded execution environment for the tasks launched in ISPC

Methods

impl Parallel[src]

pub fn new() -> Arc<Parallel>[src]

Create a parallel task execution environment that will use num_cpus threads to run tasks.

pub fn oversubscribed(oversubscribe: f32) -> Arc<Parallel>[src]

Create an oversubscribued parallel task execution environment that will use oversubscribe * num_cpus threads to run tasks.

Trait Implementations

impl TaskSystem for Parallel[src]

Auto Trait Implementations

impl Unpin for Parallel

impl Sync for Parallel

impl Send for Parallel

impl UnwindSafe for Parallel

impl RefUnwindSafe for Parallel

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]