hiplaunchkernel Interface Reference

hiplaunchkernel Interface Reference#

HIPFORT API Reference: hipfort::hiplaunchkernel Interface Reference
hipfort::hiplaunchkernel Interface Reference

C compliant kernel launch API. More...

Public Member Functions

integer(kind(hipsuccess)) function hiplaunchkernel_ (function_address, numblocks, dimblocks, args, sharedmembytes, stream)
 

Detailed Description

C compliant kernel launch API.

Parameters
[in]function_address- Kernel stub function pointer.
[in]numBlocks- Number of blocks.
[in]dimBlocks- Dimension of a block
[in]args- Pointer of arguments passed to the kernel. If the kernel has multiple parameters, 'args' should be array of pointers, each points the corresponding argument.
[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 th default stream is used with associated synchronization rules.
Returns
hipSuccess, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hiplaunchkernel_()

integer(kind(hipsuccess)) function hipfort::hiplaunchkernel::hiplaunchkernel_ ( type(c_ptr), value  function_address,
type(c_ptr), value  numblocks,
type(c_ptr), value  dimblocks,
type(c_ptr)  args,
integer(c_size_t), value  sharedmembytes,
type(c_ptr), value  stream 
)

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