pub unsafe extern "C" fn hipLaunchKernel(
function_address: *const c_void,
numBlocks: dim3,
dimBlocks: dim3,
args: *mut *mut c_void,
sharedMemBytes: usize,
stream: hipStream_t,
) -> hipError_t
Expand description
@brief C compliant kernel launch API
@param [in] function_address - kernel stub function pointer. @param [in] numBlocks - number of blocks @param [in] dimBlocks - dimension of a block @param [in] args - kernel arguments @param [in] sharedMemBytes - Amount of dynamic shared memory to allocate for this kernel. The HIP-Clang compiler provides support for extern shared declarations. @param [in] stream - Stream where the kernel should be dispatched. May be 0, in which case th default stream is used with associated synchronization rules.
@returns #hipSuccess, #hipErrorInvalidValue