Skip to main content

CUjit_option

Enum CUjit_option 

#[repr(u32)]
pub enum CUjit_option {
Show 35 variants CU_JIT_MAX_REGISTERS = 0, CU_JIT_THREADS_PER_BLOCK = 1, CU_JIT_WALL_TIME = 2, CU_JIT_INFO_LOG_BUFFER = 3, CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES = 4, CU_JIT_ERROR_LOG_BUFFER = 5, CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES = 6, CU_JIT_OPTIMIZATION_LEVEL = 7, CU_JIT_TARGET_FROM_CUCONTEXT = 8, CU_JIT_TARGET = 9, CU_JIT_FALLBACK_STRATEGY = 10, CU_JIT_GENERATE_DEBUG_INFO = 11, CU_JIT_LOG_VERBOSE = 12, CU_JIT_GENERATE_LINE_INFO = 13, CU_JIT_CACHE_MODE = 14, CU_JIT_NEW_SM3X_OPT = 15, CU_JIT_FAST_COMPILE = 16, CU_JIT_GLOBAL_SYMBOL_NAMES = 17, CU_JIT_GLOBAL_SYMBOL_ADDRESSES = 18, CU_JIT_GLOBAL_SYMBOL_COUNT = 19, CU_JIT_LTO = 20, CU_JIT_FTZ = 21, CU_JIT_PREC_DIV = 22, CU_JIT_PREC_SQRT = 23, CU_JIT_FMA = 24, CU_JIT_REFERENCED_KERNEL_NAMES = 25, CU_JIT_REFERENCED_KERNEL_COUNT = 26, CU_JIT_REFERENCED_VARIABLE_NAMES = 27, CU_JIT_REFERENCED_VARIABLE_COUNT = 28, CU_JIT_OPTIMIZE_UNUSED_DEVICE_VARIABLES = 29, CU_JIT_POSITION_INDEPENDENT_CODE = 30, CU_JIT_MIN_CTA_PER_SM = 31, CU_JIT_MAX_THREADS_PER_BLOCK = 32, CU_JIT_OVERRIDE_DIRECTIVE_VALUES = 33, CU_JIT_NUM_OPTIONS = 34,
}

Variants§

§

CU_JIT_MAX_REGISTERS = 0

§

CU_JIT_THREADS_PER_BLOCK = 1

§

CU_JIT_WALL_TIME = 2

§

CU_JIT_INFO_LOG_BUFFER = 3

§

CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES = 4

§

CU_JIT_ERROR_LOG_BUFFER = 5

§

CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES = 6

§

CU_JIT_OPTIMIZATION_LEVEL = 7

§

CU_JIT_TARGET_FROM_CUCONTEXT = 8

§

CU_JIT_TARGET = 9

§

CU_JIT_FALLBACK_STRATEGY = 10

§

CU_JIT_GENERATE_DEBUG_INFO = 11

§

CU_JIT_LOG_VERBOSE = 12

§

CU_JIT_GENERATE_LINE_INFO = 13

§

CU_JIT_CACHE_MODE = 14

§

CU_JIT_NEW_SM3X_OPT = 15

§

CU_JIT_FAST_COMPILE = 16

§

CU_JIT_GLOBAL_SYMBOL_NAMES = 17

§

CU_JIT_GLOBAL_SYMBOL_ADDRESSES = 18

§

CU_JIT_GLOBAL_SYMBOL_COUNT = 19

§

CU_JIT_LTO = 20

§

CU_JIT_FTZ = 21

§

CU_JIT_PREC_DIV = 22

§

CU_JIT_PREC_SQRT = 23

§

CU_JIT_FMA = 24

§

CU_JIT_REFERENCED_KERNEL_NAMES = 25

§

CU_JIT_REFERENCED_KERNEL_COUNT = 26

§

CU_JIT_REFERENCED_VARIABLE_NAMES = 27

§

CU_JIT_REFERENCED_VARIABLE_COUNT = 28

§

CU_JIT_OPTIMIZE_UNUSED_DEVICE_VARIABLES = 29

§

CU_JIT_POSITION_INDEPENDENT_CODE = 30

§

CU_JIT_MIN_CTA_PER_SM = 31

§

CU_JIT_MAX_THREADS_PER_BLOCK = 32

§

CU_JIT_OVERRIDE_DIRECTIVE_VALUES = 33

§

CU_JIT_NUM_OPTIONS = 34

Trait Implementations§

§

impl Clone for CUjit_option_enum

§

fn clone(&self) -> CUjit_option_enum

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for CUjit_option_enum

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Hash for CUjit_option_enum

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for CUjit_option_enum

§

fn cmp(&self, other: &CUjit_option_enum) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for CUjit_option_enum

§

fn eq(&self, other: &CUjit_option_enum) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl PartialOrd for CUjit_option_enum

§

fn partial_cmp(&self, other: &CUjit_option_enum) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
§

impl Copy for CUjit_option_enum

§

impl Eq for CUjit_option_enum

§

impl StructuralPartialEq for CUjit_option_enum

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,