hiplaunchcooperativekernel Interface Reference

hiplaunchcooperativekernel Interface Reference#

HIPFORT API Reference: hipfort::hiplaunchcooperativekernel Interface Reference
hipfort::hiplaunchcooperativekernel Interface Reference

launches kernel f with launch parameters and shared memory on stream with arguments passed to kernelparams or extra, where thread blocks can cooperate and synchronize as they execute More...

Public Member Functions

integer(kind(hipsuccess)) function hiplaunchcooperativekernel_ (f, gridDim, blockDimX, kernelParams, sharedMemBytes, stream)
 

Detailed Description

launches kernel f with launch parameters and shared memory on stream with arguments passed to kernelparams or extra, where thread blocks can cooperate and synchronize as they execute

Parameters
[in]fKernel to launch.
[in]gridDimGrid dimensions specified as multiple of blockDim.
[in]blockDimBlock dimensions specified in work-items
[in]kernelParamsA list of kernel arguments
[in]sharedMemBytesAmount of dynamic shared memory to allocate for this kernel. The HIP-Clang compiler provides support for extern shared declarations.
[in]streamStream where the kernel should be dispatched. May be 0, in which case th default stream is used with associated synchronization rules.
Returns
hipSuccess, hipInvalidDevice, hipErrorNotInitialized, hipErrorInvalidValue, hipErrorCooperativeLaunchTooLarge

Member Function/Subroutine Documentation

◆ hiplaunchcooperativekernel_()

integer(kind(hipsuccess)) function hipfort::hiplaunchcooperativekernel::hiplaunchcooperativekernel_ ( type(c_ptr), value  f,
type(dim3), value  gridDim,
type(dim3), value  blockDimX,
type(c_ptr)  kernelParams,
integer(c_int), value  sharedMemBytes,
type(c_ptr), value  stream 
)

The documentation for this interface was generated from the following file: