Skip to content

GpaGetVersion

Copyright (c) 2018-2021 Advanced Micro Devices, Inc. All rights reserved.

Syntax

GpaStatus GpaGetVersion(
GpaUInt32* major_version,
GpaUInt32* minor_version,
GpaUInt32* build_version,
GpaUInt32* update_version);

Description

Gets the GPA version.

Parameters

NameDescription
major_versionThe value that will hold the major version of GPA upon successful execution.
minor_versionThe value that will hold the minor version of GPA upon successful execution.
build_versionThe value that will hold the build number of GPA upon successful execution.
update_versionThe value that will hold the update version of GPA upon successful execution.

Return value

Return valueDescription
kGpaStatusOkThe GPA version was successfully retrieved.
kGpaStatusErrorNullPointerThe supplied major_version parameter is NULL.

The supplied minor_version parameter is NULL.

The supplied build_version parameter is NULL.

The supplied update_version parameter is NULL. | | kGpaStatusErrorException | Exception occurred. |