pub struct NvidiaTarget { /* private fields */ }Expand description
NVIDIA CUDA compilation target: .cu → PTX via nvcc.
This is the only concrete implementation today. Other vendors can be
added by implementing ComputeTarget and wiring into build.rs.
Implementations§
Source§impl NvidiaTarget
impl NvidiaTarget
Trait Implementations§
Source§impl ComputeTarget for NvidiaTarget
impl ComputeTarget for NvidiaTarget
Source§fn source_extension(&self) -> &str
fn source_extension(&self) -> &str
File extension for kernel source files (without dot). Read more
Source§fn output_extension(&self) -> &str
fn output_extension(&self) -> &str
File extension for compiled kernel modules (without dot). Read more
Source§fn output_is_text(&self) -> bool
fn output_is_text(&self) -> bool
Whether compiled output is text (can use
include_str!) or binary
(must use include_bytes!). Read moreAuto Trait Implementations§
impl Freeze for NvidiaTarget
impl RefUnwindSafe for NvidiaTarget
impl Send for NvidiaTarget
impl Sync for NvidiaTarget
impl Unpin for NvidiaTarget
impl UnwindSafe for NvidiaTarget
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