hipdevicegetluid Interface Reference#
hipfort::hipdevicegetluid Interface Reference
Returns an LUID and device node mask for the device. More...
Public Member Functions | |
| integer(c_int) function | hipdevicegetluid_ (luid, devicenodemask, device) |
| integer(kind(hipsuccess)) function | hipdevicegetluid_typed (luid, devicenodemask, device) |
Detailed Description
Returns an LUID and device node mask for the device.
- Parameters
-
[out] luid Returned 8-byte locally unique identifier for the device [out] deviceNodeMask Returned device node mask [in] device Device ordinal
Returns identifying information (luid and deviceNodeMask) that allows the device to be matched with graphics APIs. The LUID is only valid on Windows; on other platforms this function returns hipErrorNotSupported and does not modify luid or deviceNodeMask.
- Returns
hipSuccess,hipErrorInvalidDevice,hipErrorInvalidValue,hipErrorNotInitialized,hipErrorDeinitialized,hipErrorNotSupported
Member Function/Subroutine Documentation
◆ hipdevicegetluid_()
| integer(c_int) function hipfort::hipdevicegetluid::hipdevicegetluid_ | ( | type(c_ptr), value | luid, |
| type(c_ptr), value | devicenodemask, | ||
| integer(c_int), value | device | ||
| ) |
◆ hipdevicegetluid_typed()
| integer(kind(hipsuccess)) function hipfort::hipdevicegetluid::hipdevicegetluid_typed | ( | type(c_ptr), value | luid, |
| integer(c_int), target | devicenodemask, | ||
| integer(c_int) | device | ||
| ) |
The documentation for this interface was generated from the following file: