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 to kernel arguments. [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. [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. 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: