Struct hip_sys::hiprt::hipLaunchParams_t
source · #[repr(C)]pub struct hipLaunchParams_t {
pub func: *mut c_void,
pub gridDim: dim3,
pub blockDim: dim3,
pub args: *mut *mut c_void,
pub sharedMem: usize,
pub stream: *mut ihipStream_t,
}Fields§
§func: *mut c_void< Device function symbol
gridDim: dim3< Grid dimentions
blockDim: dim3< Block dimentions
args: *mut *mut c_void< Arguments
< Shared memory
stream: *mut ihipStream_t< Stream identifier
Trait Implementations§
source§impl Clone for hipLaunchParams_t
impl Clone for hipLaunchParams_t
source§fn clone(&self) -> hipLaunchParams_t
fn clone(&self) -> hipLaunchParams_t
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 hipLaunchParams_t
impl Debug for hipLaunchParams_t
source§impl Default for hipLaunchParams_t
impl Default for hipLaunchParams_t
source§fn default() -> hipLaunchParams_t
fn default() -> hipLaunchParams_t
Returns the “default value” for a type. Read more
source§impl Hash for hipLaunchParams_t
impl Hash for hipLaunchParams_t
source§impl Ord for hipLaunchParams_t
impl Ord for hipLaunchParams_t
source§fn cmp(&self, other: &hipLaunchParams_t) -> Ordering
fn cmp(&self, other: &hipLaunchParams_t) -> 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<hipLaunchParams_t> for hipLaunchParams_t
impl PartialEq<hipLaunchParams_t> for hipLaunchParams_t
source§fn eq(&self, other: &hipLaunchParams_t) -> bool
fn eq(&self, other: &hipLaunchParams_t) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipLaunchParams_t> for hipLaunchParams_t
impl PartialOrd<hipLaunchParams_t> for hipLaunchParams_t
source§fn partial_cmp(&self, other: &hipLaunchParams_t) -> Option<Ordering>
fn partial_cmp(&self, other: &hipLaunchParams_t) -> 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 hipLaunchParams_t
impl Eq for hipLaunchParams_t
impl StructuralEq for hipLaunchParams_t
impl StructuralPartialEq for hipLaunchParams_t
Auto Trait Implementations§
impl RefUnwindSafe for hipLaunchParams_t
impl !Send for hipLaunchParams_t
impl !Sync for hipLaunchParams_t
impl Unpin for hipLaunchParams_t
impl UnwindSafe for hipLaunchParams_t
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