hipdrivergetversion Interface Reference

hipdrivergetversion Interface Reference#

HIPFORT API Reference: hipfort::hipdrivergetversion Interface Reference
hipfort::hipdrivergetversion Interface Reference

Returns the approximate HIP driver version. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdrivergetversion_ (driverversion)
 

Detailed Description

Returns the approximate HIP driver version.

Parameters
[out]driverVersiondriver version

HIP driver version shows up in the format: HIP_VERSION_MAJOR * 10000000 + HIP_VERSION_MINOR * 100000 + HIP_VERSION_PATCH.

Returns
hipSuccess, hipErrorInvalidValue
Warning
The HIP driver version does not correspond to an exact CUDA driver revision. On AMD platform, the API returns the HIP driver version, while on NVIDIA platform, it calls the corresponding CUDA runtime API and returns the CUDA driver version. There is no mapping/correlation between HIP driver version and CUDA driver version.
See also
hipRuntimeGetVersion

Member Function/Subroutine Documentation

◆ hipdrivergetversion_()

integer(kind(hipsuccess)) function hipfort::hipdrivergetversion::hipdrivergetversion_ ( integer(c_int)  driverversion)

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