[][src]Struct ispc_rt::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 Send for Parallel

impl Sync for Parallel

Blanket Implementations

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

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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