#[repr(C)]pub struct HIP_LAUNCH_CONFIG_st {
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: hipStream_t,
pub attrs: *mut hipLaunchAttribute,
pub numAttrs: c_uint,
}Expand description
HIP driver extensible launch configuration
Fields§
§gridDimX: c_uint< Grid width in blocks
gridDimY: c_uint< Grid height in blocks
gridDimZ: c_uint< Grid depth in blocks
blockDimX: c_uint< Thread block dimension in X
blockDimY: c_uint< Thread block dimension in Y
blockDimZ: c_uint< Thread block dimension in Z
< Dynamic shared-memory size in bytes per block
hStream: hipStream_t< HIP stream identifier
attrs: *mut hipLaunchAttribute< Attribute list
numAttrs: c_uint< Number of attributes
Trait Implementations§
Source§impl Clone for HIP_LAUNCH_CONFIG_st
impl Clone for HIP_LAUNCH_CONFIG_st
Source§fn clone(&self) -> HIP_LAUNCH_CONFIG_st
fn clone(&self) -> HIP_LAUNCH_CONFIG_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 HIP_LAUNCH_CONFIG_st
impl Debug for HIP_LAUNCH_CONFIG_st
impl Copy for HIP_LAUNCH_CONFIG_st
Auto Trait Implementations§
impl Freeze for HIP_LAUNCH_CONFIG_st
impl RefUnwindSafe for HIP_LAUNCH_CONFIG_st
impl !Send for HIP_LAUNCH_CONFIG_st
impl !Sync for HIP_LAUNCH_CONFIG_st
impl Unpin for HIP_LAUNCH_CONFIG_st
impl UnwindSafe for HIP_LAUNCH_CONFIG_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