#[repr(C)]pub struct cudaKernelNodeParams {
pub func: *mut c_void,
pub gridDim: dim3,
pub blockDim: dim3,
pub sharedMemBytes: u32,
pub kernelParams: *mut *mut c_void,
pub extra: *mut *mut c_void,
}
Expand description
CUDA GPU kernel node parameters
Fields§
§func: *mut c_void
< Kernel to launch
gridDim: dim3
< Grid dimensions
blockDim: dim3
< Block dimensions
< Dynamic shared-memory size per thread block in bytes
kernelParams: *mut *mut c_void
< Array of pointers to individual kernel arguments
extra: *mut *mut c_void
< Pointer to kernel arguments in the “extra” format
Trait Implementations§
Source§impl Clone for cudaKernelNodeParams
impl Clone for cudaKernelNodeParams
Source§fn clone(&self) -> cudaKernelNodeParams
fn clone(&self) -> cudaKernelNodeParams
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 cudaKernelNodeParams
impl Debug for cudaKernelNodeParams
impl Copy for cudaKernelNodeParams
Auto Trait Implementations§
impl Freeze for cudaKernelNodeParams
impl RefUnwindSafe for cudaKernelNodeParams
impl !Send for cudaKernelNodeParams
impl !Sync for cudaKernelNodeParams
impl Unpin for cudaKernelNodeParams
impl UnwindSafe for cudaKernelNodeParams
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