Struct cudarc::driver::sys::CUDA_LAUNCH_PARAMS_st
source · #[repr(C)]pub struct CUDA_LAUNCH_PARAMS_st {
pub function: CUfunction,
pub gridDimX: c_uint,
pub gridDimY: c_uint,
pub gridDimZ: c_uint,
pub blockDimX: c_uint,
pub blockDimY: c_uint,
pub blockDimZ: c_uint,
pub sharedMemBytes: c_uint,
pub hStream: CUstream,
pub kernelParams: *mut *mut c_void,
}
Fields§
§function: CUfunction
§gridDimX: c_uint
§gridDimY: c_uint
§gridDimZ: c_uint
§blockDimX: c_uint
§blockDimY: c_uint
§blockDimZ: c_uint
§hStream: CUstream
§kernelParams: *mut *mut c_void
Trait Implementations§
source§impl Clone for CUDA_LAUNCH_PARAMS_st
impl Clone for CUDA_LAUNCH_PARAMS_st
source§fn clone(&self) -> CUDA_LAUNCH_PARAMS_st
fn clone(&self) -> CUDA_LAUNCH_PARAMS_st
Returns a copy 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 CUDA_LAUNCH_PARAMS_st
impl Debug for CUDA_LAUNCH_PARAMS_st
source§impl Default for CUDA_LAUNCH_PARAMS_st
impl Default for CUDA_LAUNCH_PARAMS_st
source§impl Hash for CUDA_LAUNCH_PARAMS_st
impl Hash for CUDA_LAUNCH_PARAMS_st
source§impl Ord for CUDA_LAUNCH_PARAMS_st
impl Ord for CUDA_LAUNCH_PARAMS_st
source§fn cmp(&self, other: &CUDA_LAUNCH_PARAMS_st) -> Ordering
fn cmp(&self, other: &CUDA_LAUNCH_PARAMS_st) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CUDA_LAUNCH_PARAMS_st> for CUDA_LAUNCH_PARAMS_st
impl PartialEq<CUDA_LAUNCH_PARAMS_st> for CUDA_LAUNCH_PARAMS_st
source§fn eq(&self, other: &CUDA_LAUNCH_PARAMS_st) -> bool
fn eq(&self, other: &CUDA_LAUNCH_PARAMS_st) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CUDA_LAUNCH_PARAMS_st> for CUDA_LAUNCH_PARAMS_st
impl PartialOrd<CUDA_LAUNCH_PARAMS_st> for CUDA_LAUNCH_PARAMS_st
source§fn partial_cmp(&self, other: &CUDA_LAUNCH_PARAMS_st) -> Option<Ordering>
fn partial_cmp(&self, other: &CUDA_LAUNCH_PARAMS_st) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CUDA_LAUNCH_PARAMS_st
impl Eq for CUDA_LAUNCH_PARAMS_st
impl StructuralEq for CUDA_LAUNCH_PARAMS_st
impl StructuralPartialEq for CUDA_LAUNCH_PARAMS_st
Auto Trait Implementations§
impl RefUnwindSafe for CUDA_LAUNCH_PARAMS_st
impl !Send for CUDA_LAUNCH_PARAMS_st
impl !Sync for CUDA_LAUNCH_PARAMS_st
impl Unpin for CUDA_LAUNCH_PARAMS_st
impl UnwindSafe for CUDA_LAUNCH_PARAMS_st
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