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- kernel arguments
[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, hipInvalidDevice

Member Function/Subroutine Documentation

◆ hiplaunchkernel_()

integer(kind(hipsuccess)) function hipfort::hiplaunchkernel::hiplaunchkernel_ ( type(c_ptr), value  function_address,
type(dim3), value  numBlocks,
type(dim3), 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: