hipdevicegetattribute Interface Reference

hipdevicegetattribute Interface Reference#

HIPFORT API Reference: hipfort::hipdevicegetattribute Interface Reference
hipfort::hipdevicegetattribute Interface Reference

Query for a specific device attribute. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdevicegetattribute_ (pi, attr, deviceId)
 

Detailed Description

Query for a specific device attribute.

Parameters
[out]pipointer to value to return
[in]attrattribute to query
[in]deviceIdwhich device to query for information
Returns
hipSuccess, hipErrorInvalidDevice, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipdevicegetattribute_()

integer(kind(hipsuccess)) function hipfort::hipdevicegetattribute::hipdevicegetattribute_ ( type(c_ptr), value  pi,
integer(kind(hipdeviceattributecudacompatiblebegin)), value  attr,
integer(c_int), value  deviceId 
)

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