This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

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(kind(hipsuccess)) function hipdevicecomputecapability_ (major, minor, device)
 

Detailed Description

Returns the compute capability of the device.

Parameters
[out]major
[out]minor
[in]device
Returns
hipSuccess, hipErrorInavlidDevice

Member Function/Subroutine Documentation

◆ hipdevicecomputecapability_()

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

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