hipgetdeviceproperties Interface Reference

hipgetdeviceproperties Interface Reference#

HIPFORT API Reference: hipfort_auxiliary::hipgetdeviceproperties Interface Reference
hipfort_auxiliary::hipgetdeviceproperties Interface Reference

Returns device properties. More...

Public Member Functions

integer(kind(hipsuccess)) function hipgetdeviceproperties_ (prop, deviceId)
 

Detailed Description

Returns device properties.

Parameters
[out]propwritten with device properties
[in]deviceIdwhich device to query for information
Returns
hipSuccess, hipErrorInvalidDevice
Bug:

HCC always returns 0 for maxThreadsPerMultiProcessor

HCC always returns 0 for regsPerBlock

HCC always returns 0 for l2CacheSize

Populates hipGetDeviceProperties with information for the specified device.

Member Function/Subroutine Documentation

◆ hipgetdeviceproperties_()

integer(kind(hipsuccess)) function hipfort_auxiliary::hipgetdeviceproperties::hipgetdeviceproperties_ ( type(hipdeviceprop_t), intent(out)  prop,
integer(c_int), value  deviceId 
)

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