Cooperative groups kernel launch of Module management.#
Cooperative groups kernel launch of Module management.
launches kernel f with launch parameters and shared memory on stream with arguments passed to kernelParams, where thread blocks can cooperate and synchronize as they execute
Collaboration diagram for Cooperative groups kernel launch of Module management.:
launches kernel f with launch parameters and shared memory on stream with arguments passed to kernelParams, where thread blocks can cooperate and synchronize as they execute
- Parameters
-
[in] f Kernel to launch. [in] gridDimX X grid dimension specified as multiple of blockDimX. [in] gridDimY Y grid dimension specified as multiple of blockDimY. [in] gridDimZ Z grid dimension specified as multiple of blockDimZ. [in] blockDimX X block dimension specified in work-items. [in] blockDimY Y block dimension specified in work-items. [in] blockDimZ Z block dimension specified in work-items. [in] sharedMemBytes Amount of dynamic shared memory to allocate for this kernel. The HIP-Clang compiler provides support for extern shared declarations. [in] stream Stream where the kernel should be dispatched. May be 0, in which case the default stream is used with associated synchronization rules. [in] kernelParams A list of kernel arguments.
Please note, HIP does not support kernel launch with total work items defined in dimension with size \( gridDim \cdot blockDim ≥ 2^{32} \).
- Returns
hipSuccess,hipErrorDeinitialized,hipErrorNotInitialized,hipErrorInvalidContext,hipErrorInvalidHandle,hipErrorInvalidImage,hipErrorInvalidValue,hipErrorInvalidConfiguration,hipErrorLaunchFailure,hipErrorLaunchOutOfResources,hipErrorLaunchTimeOut,hipErrorCooperativeLaunchTooLarge,hipErrorSharedObjectInitFailed