hipmoduleoccupancymaxactiveblockspermultiprocessor Interface Reference#
hipfort::hipmoduleoccupancymaxactiveblockspermultiprocessor Interface Reference
Returns occupancy for a device function. More...
Public Member Functions | |
integer(kind(hipsuccess)) function | hipmoduleoccupancymaxactiveblockspermultiprocessor_ (numBlocks, f, blockSize, dynSharedMemPerBlk) |
Detailed Description
Returns occupancy for a device function.
- Parameters
-
[out] numBlocks Returned occupancy [in] func Kernel function (hipFunction) for which occupancy is calulated [in] blockSize Block size the kernel is intended to be launched with [in] dynSharedMemPerBlk dynamic shared memory usage (in bytes) intended for each block
Member Function/Subroutine Documentation
◆ hipmoduleoccupancymaxactiveblockspermultiprocessor_()
integer(kind(hipsuccess)) function hipfort::hipmoduleoccupancymaxactiveblockspermultiprocessor::hipmoduleoccupancymaxactiveblockspermultiprocessor_ | ( | type(c_ptr), value | numBlocks, |
type(c_ptr), value | f, | ||
integer(c_int), value | blockSize, | ||
integer(c_size_t), value | dynSharedMemPerBlk | ||
) |
The documentation for this interface was generated from the following file: