#[repr(C)]pub struct hipFunctionLaunchParams_t {
pub function: hipFunction_t,
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 kernelParams: *mut *mut c_void,
}
Expand description
struct hipFunctionLaunchParams_t
Fields§
§function: hipFunction_t
< Kernel to launch
gridDimX: c_uint
< Width(X) of grid in blocks
gridDimY: c_uint
< Height(Y) of grid in blocks
gridDimZ: c_uint
< Depth(Z) of grid in blocks
blockDimX: c_uint
< X dimension of each thread block
blockDimY: c_uint
< Y dimension of each thread block
blockDimZ: c_uint
< Z dimension of each thread block
< Shared memory
hStream: hipStream_t
< Stream identifier
kernelParams: *mut *mut c_void
< Kernel parameters
Trait Implementations§
Source§impl Clone for hipFunctionLaunchParams_t
impl Clone for hipFunctionLaunchParams_t
Source§fn clone(&self) -> hipFunctionLaunchParams_t
fn clone(&self) -> hipFunctionLaunchParams_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 hipFunctionLaunchParams_t
impl Debug for hipFunctionLaunchParams_t
impl Copy for hipFunctionLaunchParams_t
Auto Trait Implementations§
impl Freeze for hipFunctionLaunchParams_t
impl RefUnwindSafe for hipFunctionLaunchParams_t
impl !Send for hipFunctionLaunchParams_t
impl !Sync for hipFunctionLaunchParams_t
impl Unpin for hipFunctionLaunchParams_t
impl UnwindSafe for hipFunctionLaunchParams_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