hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags Interface Reference

hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags Interface Reference#

HIPFORT API Reference: hipfort::hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags Interface Reference
hipfort::hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags Interface Reference

Returns occupancy for a device function. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags_ (numblocks, f, blocksize, dynsharedmemperblk, flags)
 

Detailed Description

Returns occupancy for a device function.

Parameters
[out]numBlocksReturned occupancy
[in]fKernel function(hipFunction_t) for which occupancy is calulated
[in]blockSizeBlock size the kernel is intended to be launched with
[in]dynSharedMemPerBlkDynamic shared memory usage (in bytes) intended for each block
[in]flagsExtra flags for occupancy calculation (only default supported)
Returns
hipSuccess, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags_()

integer(kind(hipsuccess)) function hipfort::hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags::hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags_ ( integer(c_int)  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: