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(c_int) function hipdevicegetattribute_ (pi, attr, deviceid)
 
integer(kind(hipsuccess)) function hipdevicegetattribute_typed (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(c_int) function hipfort::hipdevicegetattribute::hipdevicegetattribute_ ( type(c_ptr), value  pi,
integer(c_int), value  attr,
integer(c_int), value  deviceid 
)

◆ hipdevicegetattribute_typed()

integer(kind(hipsuccess)) function hipfort::hipdevicegetattribute::hipdevicegetattribute_typed ( integer(c_int), target  pi,
integer(kind(hipdeviceattributecudacompatiblebegin))  attr,
integer(c_int)  deviceid 
)

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