Enum kn_cuda_sys::bindings::CUjitInputType_enum
source · #[non_exhaustive]#[repr(u32)]pub enum CUjitInputType_enum {
CU_JIT_INPUT_CUBIN = 0,
CU_JIT_INPUT_PTX = 1,
CU_JIT_INPUT_FATBINARY = 2,
CU_JIT_INPUT_OBJECT = 3,
CU_JIT_INPUT_LIBRARY = 4,
CU_JIT_INPUT_NVVM = 5,
CU_JIT_NUM_INPUT_TYPES = 6,
}Expand description
Device code formats
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
CU_JIT_INPUT_CUBIN = 0
Compiled device-class-specific device code\n Applicable options: none
CU_JIT_INPUT_PTX = 1
PTX source code\n Applicable options: PTX compiler options
CU_JIT_INPUT_FATBINARY = 2
Bundle of multiple cubins and/or PTX of some device code\n Applicable options: PTX compiler options, ::CU_JIT_FALLBACK_STRATEGY
CU_JIT_INPUT_OBJECT = 3
Host object with embedded device code\n Applicable options: PTX compiler options, ::CU_JIT_FALLBACK_STRATEGY
CU_JIT_INPUT_LIBRARY = 4
Archive of host objects with embedded device code\n Applicable options: PTX compiler options, ::CU_JIT_FALLBACK_STRATEGY
CU_JIT_INPUT_NVVM = 5
\deprecated High-level intermediate code for link-time optimization\n Applicable options: NVVM compiler options, PTX compiler options
Only valid with LTO-IR compiled with toolkits prior to CUDA 12.0
CU_JIT_NUM_INPUT_TYPES = 6
\deprecated High-level intermediate code for link-time optimization\n Applicable options: NVVM compiler options, PTX compiler options
Only valid with LTO-IR compiled with toolkits prior to CUDA 12.0
Trait Implementations§
source§impl Clone for CUjitInputType_enum
impl Clone for CUjitInputType_enum
source§fn clone(&self) -> CUjitInputType_enum
fn clone(&self) -> CUjitInputType_enum
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CUjitInputType_enum
impl Debug for CUjitInputType_enum
source§impl Hash for CUjitInputType_enum
impl Hash for CUjitInputType_enum
source§impl PartialEq for CUjitInputType_enum
impl PartialEq for CUjitInputType_enum
source§fn eq(&self, other: &CUjitInputType_enum) -> bool
fn eq(&self, other: &CUjitInputType_enum) -> bool
self and other values to be equal, and is used
by ==.