GPUVRAM

Gets the dedicated GPU memory of a GPU metric sample.

Syntax

Copied!

ADLX_RESULT     GPUVRAM (adlx_int* data)

Parameters

  1. [out] data adlx_int* The pointer to a variable where the dedicated GPU memory (in MB) is returned.

Return Value

If the dedicated GPU memory is successfully returned, ADLX_OK is returned.

If the dedicated GPU memory is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “IPerformanceMonitoring.h”

Minimum version

1.0