hipoccupancymaxpotentialclustersize Interface Reference

hipoccupancymaxpotentialclustersize Interface Reference#

hipFORT API Reference: hipfort::hipoccupancymaxpotentialclustersize Interface Reference
hipfort::hipoccupancymaxpotentialclustersize Interface Reference

returns the maximum cluster size (in number of blocks) that can run on the device More...

Public Member Functions

integer(kind(hipsuccess)) function hipoccupancymaxpotentialclustersize_ (clustersize, f, config)
 

Detailed Description

returns the maximum cluster size (in number of blocks) that can run on the device

Parameters
[out]clusterSizethe maximum cluster size
[in]fkernel function for which occupancy is calculated
[in]configpointer to the kernel launch configuration structure
Returns
hipSuccess, hipErrorInvalidDeviceFunction, hipErrorInvalidClusterSize, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipoccupancymaxpotentialclustersize_()

integer(kind(hipsuccess)) function hipfort::hipoccupancymaxpotentialclustersize::hipoccupancymaxpotentialclustersize_ ( type(c_ptr), value  clustersize,
type(c_funptr), value  f,
type(hiplaunchconfig_t config 
)

The documentation for this interface was generated from the following file: