Enum futhark_bindgen::Backend
source · [−]pub enum Backend {
C,
CUDA,
OpenCL,
Multicore,
ISPC,
}Expand description
Backend is used to select a backend when running the futhark executable
Variants
C
Sequential C backend: futhark c
Requires a C compiler
CUDA
CUDA backend: futhark cuda
Requires the CUDA runtime and a C compiler
OpenCL
OpenCL backend: futhark opencl
Requires OpenCL and a C compiler
Multicore
Multicore C backend: futhark multicore
Requires a C compiler
ISPC
ISPC backend: futhark ispc
Requires the ispc compiler in your $PATH
and a C compiler
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Backend
impl<'de> Deserialize<'de> for Backend
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Backend
impl Eq for Backend
impl StructuralEq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
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