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(c_int) function hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags_ (numblocks, f, blocksize, dynsharedmemperblk, flags)
 
integer(kind(hipsuccess)) function hipmoduleoccupancymaxactiveblockspermultiprocessorwithfla_typed (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 calculated
[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

◆ hipmoduleoccupancymaxactiveblockspermultiprocessorwithfla_typed()

integer(kind(hipsuccess)) function hipfort::hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags::hipmoduleoccupancymaxactiveblockspermultiprocessorwithfla_typed ( integer(c_int), target  numblocks,
type(c_ptr), value  f,
integer(c_int)  blocksize,
integer(c_size_t)  dynsharedmemperblk,
integer(c_int)  flags 
)

◆ hipmoduleoccupancymaxactiveblockspermultiprocessorwithflags_()

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