#[non_exhaustive]#[repr(u32)]pub enum CUjitInputType {
Ptx = 1,
Cubin = 2,
Fatbin = 3,
Object = 4,
Library = 5,
}Expand description
Input types for cuLinkAddData / cuLinkAddFile.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ptx = 1
PTX source code.
Cubin = 2
Compiled device code (cubin).
Fatbin = 3
Fat binary bundle.
Object = 4
Relocatable device object.
Library = 5
Device code library.
Trait Implementations§
Source§impl Clone for CUjitInputType
impl Clone for CUjitInputType
Source§fn clone(&self) -> CUjitInputType
fn clone(&self) -> CUjitInputType
Returns a duplicate 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 CUjitInputType
impl Debug for CUjitInputType
Source§impl Hash for CUjitInputType
impl Hash for CUjitInputType
Source§impl PartialEq for CUjitInputType
impl PartialEq for CUjitInputType
impl Copy for CUjitInputType
impl Eq for CUjitInputType
impl StructuralPartialEq for CUjitInputType
Auto Trait Implementations§
impl Freeze for CUjitInputType
impl RefUnwindSafe for CUjitInputType
impl Send for CUjitInputType
impl Sync for CUjitInputType
impl Unpin for CUjitInputType
impl UnsafeUnpin for CUjitInputType
impl UnwindSafe for CUjitInputType
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