hipextlaunchkernel Interface Reference

hipextlaunchkernel Interface Reference#

HIPFORT API Reference: hipfort::hipextlaunchkernel Interface Reference
hipfort::hipextlaunchkernel Interface Reference

Launches kernel from the pointer address, with arguments and shared memory on stream. More...

Public Member Functions

integer(kind(hipsuccess)) function hipextlaunchkernel_ (function_address, numblocks, dimblocks, args, sharedmembytes, stream, startevent, stopevent, flags)
 

Detailed Description

Launches kernel from the pointer address, with arguments and shared memory on stream.

Parameters
[in]function_address- Pointer to the Kernel to launch.
[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. 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]startEvent- If non-null, specified event will be updated to track the start time of the kernel launch. The event must be created before calling this API.
[in]stopEvent- If non-null, specified event will be updated to track the stop time of the kernel launch. The event must be created before calling this API.
[in]flags- The value of hipExtAnyOrderLaunch, signifies if kernel can be launched in any order.
Returns
hipSuccess, hipErrorNotInitialized, hipErrorInvalidValue.

Member Function/Subroutine Documentation

◆ hipextlaunchkernel_()

integer(kind(hipsuccess)) function hipfort::hipextlaunchkernel::hipextlaunchkernel_ ( 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,
type(c_ptr), value  startevent,
type(c_ptr), value  stopevent,
integer(c_int), value  flags 
)

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