#[repr(C)]pub struct cudaLaunchConfig_st {
pub gridDim: dim3,
pub blockDim: dim3,
pub dynamicSmemBytes: usize,
pub stream: cudaStream_t,
pub attrs: *mut cudaLaunchAttribute,
pub numAttrs: c_uint,
}
Expand description
CUDA extensible launch configuration
Fields§
§gridDim: dim3
< Grid dimensions
blockDim: dim3
< Block dimensions
dynamicSmemBytes: usize
< Dynamic shared-memory size per thread block in bytes
stream: cudaStream_t
< Stream identifier
attrs: *mut cudaLaunchAttribute
< List of attributes; nullable if ::cudaLaunchConfig_t::numAttrs == 0
numAttrs: c_uint
< Number of attributes populated in ::cudaLaunchConfig_t::attrs
Trait Implementations§
Source§impl Clone for cudaLaunchConfig_st
impl Clone for cudaLaunchConfig_st
Source§fn clone(&self) -> cudaLaunchConfig_st
fn clone(&self) -> cudaLaunchConfig_st
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 cudaLaunchConfig_st
impl Debug for cudaLaunchConfig_st
impl Copy for cudaLaunchConfig_st
Auto Trait Implementations§
impl Freeze for cudaLaunchConfig_st
impl RefUnwindSafe for cudaLaunchConfig_st
impl !Send for cudaLaunchConfig_st
impl !Sync for cudaLaunchConfig_st
impl Unpin for cudaLaunchConfig_st
impl UnwindSafe for cudaLaunchConfig_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