hipoccupancymaxactiveblockspermultiprocessorwithflags Interface Reference#
hipfort::hipoccupancymaxactiveblockspermultiprocessorwithflags Interface Reference
Returns occupancy for a device function. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipoccupancymaxactiveblockspermultiprocessorwithflags_ (numblocks, f, blocksize, dynsharedmemperblk, flags) |
Detailed Description
Returns occupancy for a device function.
- Parameters
-
[out] numBlocks Returned occupancy [in] f Kernel function 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 [in] flags Extra flags for occupancy calculation (currently ignored)
- Returns
hipSuccess,hipErrorInvalidDeviceFunction,hipErrorInvalidValue
Member Function/Subroutine Documentation
◆ hipoccupancymaxactiveblockspermultiprocessorwithflags_()
| integer(kind(hipsuccess)) function hipfort::hipoccupancymaxactiveblockspermultiprocessorwithflags::hipoccupancymaxactiveblockspermultiprocessorwithflags_ | ( | type(c_ptr), value | numblocks, |
| type(c_ptr), value | f, | ||
| integer(c_int), value | blocksize, | ||
| integer(c_size_t), value | dynsharedmemperblk, | ||
| integer(c_int), value | flags | ||
| ) |
The documentation for this interface was generated from the following file: