hipgetdeviceproperties Interface Reference

hipgetdeviceproperties Interface Reference#

HIPFORT API Reference: hipfort::hipgetdeviceproperties Interface Reference
hipfort::hipgetdeviceproperties Interface Reference

Returns device properties. More...

Public Member Functions

integer(kind(hipsuccess)) function hipgetdeviceproperties_orig (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_orig()

integer(kind(hipsuccess)) function hipfort::hipgetdeviceproperties::hipgetdeviceproperties_orig ( type(c_ptr)  prop,
integer(c_int), value  deviceId 
)

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