hipdevicecomputecapability Interface Reference

hipdevicecomputecapability Interface Reference#

hipFORT API Reference: hipfort::hipdevicecomputecapability Interface Reference
hipfort::hipdevicecomputecapability Interface Reference

Returns the compute capability of the device. More...

Public Member Functions

integer(c_int) function hipdevicecomputecapability_ (major, minor, device)
 
integer(kind(hipsuccess)) function hipdevicecomputecapability_typed (major, minor, device)
 

Detailed Description

Returns the compute capability of the device.

Parameters
[out]majorMajor compute capability version number
[out]minorMinor compute capability version number
[in]deviceDevice ordinal
Returns
hipSuccess, hipErrorInvalidDevice

Member Function/Subroutine Documentation

◆ hipdevicecomputecapability_()

integer(c_int) function hipfort::hipdevicecomputecapability::hipdevicecomputecapability_ ( type(c_ptr), value  major,
type(c_ptr), value  minor,
integer(c_int), value  device 
)

◆ hipdevicecomputecapability_typed()

integer(kind(hipsuccess)) function hipfort::hipdevicecomputecapability::hipdevicecomputecapability_typed ( integer(c_int), target  major,
integer(c_int), target  minor,
integer(c_int)  device 
)

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