HIP: Heterogenous-computing Interface for Portability
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Management

Functions

hipError_t hipDriverGetVersion (int *driverVersion)
 Returns the approximate HIP driver version. More...
 

Detailed Description

----------------------------------------------------------------------------------------------—

Function Documentation

hipError_t hipDriverGetVersion ( int *  driverVersion)

Returns the approximate HIP driver version.

Warning
The HIP feature set does not correspond to an exact CUDA SDK driver revision. This function always set *driverVersion to 4 as an approximation though HIP supports some features which were introduced in later CUDA SDK revisions. HIP apps code should not rely on the driver revision number here and should use arch feature flags to test device capabilities or conditional compilation.
Returns
hipSuccess