pub enum ExecutionSpace {
Serial,
DeviceCPU,
DeviceGPU,
}
Expand description
Execution Space enum.
Used to specify the target device of execution for the dispatch. Defaults to ExecutionSpace::Serial.
Variants§
Serial
Default value. Execute the kernel sequentially.
DeviceCPU
Target the CPU. Execute the kernel in parallel by using a feature-determined backend.
DeviceGPU
Target the GPU. UNIMPLEMENTED.
Trait Implementations§
Source§impl Clone for ExecutionSpace
impl Clone for ExecutionSpace
Source§fn clone(&self) -> ExecutionSpace
fn clone(&self) -> ExecutionSpace
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExecutionSpace
impl Debug for ExecutionSpace
Source§impl Default for ExecutionSpace
impl Default for ExecutionSpace
Source§fn default() -> ExecutionSpace
fn default() -> ExecutionSpace
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecutionSpace
impl RefUnwindSafe for ExecutionSpace
impl Send for ExecutionSpace
impl Sync for ExecutionSpace
impl Unpin for ExecutionSpace
impl UnwindSafe for ExecutionSpace
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more