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_addresspointer to the Kernel to launch.
[in]numBlocksnumber of blocks.
[in]dimBlocksdimension of a block.
[in]argspointer to kernel arguments.
[in]sharedMemBytesAmount of dynamic shared memory to allocate for this kernel. HIP-Clang compiler provides support for extern shared declarations.
[in]streamStream where the kernel should be dispatched.
[in]startEventIf 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]stopEventIf 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. May be 0, in which case the default stream is used with associated synchronization rules.
[in]flags.The value of hipExtAnyOrderLaunch, signifies if kernel can be launched in any order.
Returns
hipSuccess, hipInvalidDevice, hipErrorNotInitialized, hipErrorInvalidValue.

Member Function/Subroutine Documentation

◆ hipextlaunchkernel_()

integer(kind(hipsuccess)) function hipfort::hipextlaunchkernel::hipextlaunchkernel_ ( 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,
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: