hipdevicegetluid Interface Reference

hipdevicegetluid Interface Reference#

hipFORT API Reference: hipfort::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]luidReturned 8-byte locally unique identifier for the device
[out]deviceNodeMaskReturned device node mask
[in]deviceDevice 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: