hipoccupancyavailabledynamicsmemperblock Interface Reference#
hipfort::hipoccupancyavailabledynamicsmemperblock Interface Reference
Returns dynamic shared memory available per block when launching numBlocks blocks on SM. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipoccupancyavailabledynamicsmemperblock_ (dynamicsmemsize, f, numblocks, blocksize) |
Detailed Description
Returns dynamic shared memory available per block when launching numBlocks blocks on SM.
Returns in *dynamicSmemSize the maximum size of dynamic shared memory / to allow numBlocks blocks per SM.
- Parameters
-
[out] dynamicSmemSize Returned maximum dynamic shared memory. [in] f Kernel function for which occupancy is calculated. [in] numBlocks Number of blocks to fit on SM [in] blockSize Size of the block
- Returns
hipSuccess,hipErrorInvalidDevice,hipErrorInvalidDeviceFunction,hipErrorInvalidValue,hipErrorUnknown
Member Function/Subroutine Documentation
◆ hipoccupancyavailabledynamicsmemperblock_()
| integer(kind(hipsuccess)) function hipfort::hipoccupancyavailabledynamicsmemperblock::hipoccupancyavailabledynamicsmemperblock_ | ( | type(c_ptr), value | dynamicsmemsize, |
| type(c_ptr), value | f, | ||
| integer(c_int), value | numblocks, | ||
| integer(c_int), value | blocksize | ||
| ) |
The documentation for this interface was generated from the following file: