#[repr(C)]pub struct cudaKernelNodeParams {
pub func: *mut c_void,
pub gridDim: dim3,
pub blockDim: dim3,
pub sharedMemBytes: c_uint,
pub kernelParams: *mut *mut c_void,
pub extra: *mut *mut c_void,
}Expand description
CUDA GPU kernel node parameters.
Fields§
§func: *mut c_voidKernel to launch.
gridDim: dim3Grid dimensions.
blockDim: dim3Block dimensions.
Dynamic shared-memory size per thread block in bytes.
kernelParams: *mut *mut c_voidArray of pointers to individual kernel arguments.
extra: *mut *mut c_voidPointer to kernel arguments in the “extra” format.
Trait Implementations§
Source§impl Clone for cudaKernelNodeParams
impl Clone for cudaKernelNodeParams
impl Copy for cudaKernelNodeParams
Source§impl Debug for cudaKernelNodeParams
impl Debug for cudaKernelNodeParams
Source§impl Default for cudaKernelNodeParams
impl Default for cudaKernelNodeParams
impl Eq for cudaKernelNodeParams
Source§impl Hash for cudaKernelNodeParams
impl Hash for cudaKernelNodeParams
Source§impl Ord for cudaKernelNodeParams
impl Ord for cudaKernelNodeParams
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for cudaKernelNodeParams
impl PartialEq for cudaKernelNodeParams
Source§impl PartialOrd for cudaKernelNodeParams
impl PartialOrd for cudaKernelNodeParams
impl StructuralPartialEq for cudaKernelNodeParams
Auto Trait Implementations§
impl !Send for cudaKernelNodeParams
impl !Sync for cudaKernelNodeParams
impl Forget for cudaKernelNodeParams
impl Freeze for cudaKernelNodeParams
impl Move for cudaKernelNodeParams
impl RefUnwindSafe for cudaKernelNodeParams
impl Unpin for cudaKernelNodeParams
impl UnsafeUnpin 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