hipsetvaliddevices Interface Reference

hipsetvaliddevices Interface Reference#

HIPFORT API Reference: hipfort::hipsetvaliddevices Interface Reference
hipfort::hipsetvaliddevices Interface Reference

Set a list of devices that can be used. More...

Public Member Functions

integer(kind(hipsuccess)) function hipsetvaliddevices_ (device_arr, len)
 

Detailed Description

Set a list of devices that can be used.

Parameters
[in]device_arr- List of devices to try
[in]len- Number of devices in specified list
Returns
hipSuccess, hipErrorInvalidDevice, hipErrorInvalidValue
See also
hipGetDevice, hipGetDeviceCount. hipSetDevice. hipGetDeviceProperties. hipSetDeviceFlags. hipChooseDevice

Member Function/Subroutine Documentation

◆ hipsetvaliddevices_()

integer(kind(hipsuccess)) function hipfort::hipsetvaliddevices::hipsetvaliddevices_ ( type(c_ptr), value  device_arr,
integer(c_int), value  len 
)

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