Skip to content

GetGPUSharedMemoryRange

Navigation: ADLX SDK ReferencesADLX InterfacesPerformance MonitoringIADLXGPUMetricsSupport2

Syntax

ADLX_RESULT    GetGPUSharedMemoryRange (adlx_int* minValue, adlx_int* maxValue)

Parameters

#DirectionNameTypeDescription
1.[out]minValueadlx_int*The pointer to a variable where the minimum shared GPU memory (in MB) is returned.
#DirectionNameTypeDescription
---------------
2.[out]maxValueadlx_int*The pointer to a variable where the maximum shared GPU memory (in MB) is returned.

Return Value

If the shared GPU memory range is successfully returned, ADLX_OK is returned.

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

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The minimum and maximum shared GPU memory are read only.

Requirements

Headerinclude “IPerformanceMonitoring3.h”
Minimum version1.4

See Also: ADLX Enums