Enum poc_kokkos_rs::routines::parameters::ExecutionSpace
source · 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 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