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

hipruntimegetversion Interface Reference

hipruntimegetversion Interface Reference#

HIPFORT API Reference: hipfort::hipruntimegetversion Interface Reference
hipfort::hipruntimegetversion Interface Reference

Returns the approximate HIP Runtime version. More...

Public Member Functions

integer(kind(hipsuccess)) function hipruntimegetversion_ (runtimeVersion)
 

Detailed Description

Returns the approximate HIP Runtime version.

Parameters
[out]runtimeVersion
Returns
hipSuccess, hipErrorInavlidValue
Warning
The version definition of HIP runtime is different from CUDA. On AMD platform, the function returns HIP runtime version, while on NVIDIA platform, it returns CUDA runtime version. And there is no mapping/correlation between HIP version and CUDA version.
See also
hipDriverGetVersion

Member Function/Subroutine Documentation

◆ hipruntimegetversion_()

integer(kind(hipsuccess)) function hipfort::hipruntimegetversion::hipruntimegetversion_ ( type(c_ptr), value  runtimeVersion)

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