HIP_LAUNCH_CONFIG

Type Alias HIP_LAUNCH_CONFIG 

Source
pub type HIP_LAUNCH_CONFIG = HIP_LAUNCH_CONFIG_st;
Expand description

HIP driver extensible launch configuration

Aliased Type§

#[repr(C)]
pub struct HIP_LAUNCH_CONFIG { pub gridDimX: u32, pub gridDimY: u32, pub gridDimZ: u32, pub blockDimX: u32, pub blockDimY: u32, pub blockDimZ: u32, pub sharedMemBytes: u32, pub hStream: *mut ihipStream_t, pub attrs: *mut hipLaunchAttribute_st, pub numAttrs: u32, }

Fields§

§gridDimX: u32

< Grid width in blocks

§gridDimY: u32

< Grid height in blocks

§gridDimZ: u32

< Grid depth in blocks

§blockDimX: u32

< Thread block dimension in X

§blockDimY: u32

< Thread block dimension in Y

§blockDimZ: u32

< Thread block dimension in Z

§sharedMemBytes: u32

< Dynamic shared-memory size in bytes per block

§hStream: *mut ihipStream_t

< HIP stream identifier

§attrs: *mut hipLaunchAttribute_st

< Attribute list

§numAttrs: u32

< Number of attributes