pub enum GpuTarget {
Nvidia,
Amd,
}Expand description
GPU target for cross-compilation.
Variants§
Nvidia
NVIDIA nvptx64 (32-lane warps, PTX output)
Amd
AMD amdgcn (64-lane wavefronts, AMDGPU output)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GpuTarget
impl RefUnwindSafe for GpuTarget
impl Send for GpuTarget
impl Sync for GpuTarget
impl Unpin for GpuTarget
impl UnsafeUnpin for GpuTarget
impl UnwindSafe for GpuTarget
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