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] prop written with device properties [in] deviceId which 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: