GetGPUSharedMemoryRange
Gets the minimum and maximum shared GPU memory on a GPU.
Syntax
ADLX_RESULT GetGPUSharedMemoryRange (adlx_int* minValue, adlx_int* maxValue)
Parameters
-
[out]
minValue adlx_int* The pointer to a variable where the minimum shared GPU memory (in MB) is returned. -
[out]
maxValue adlx_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
Header |
include “IPerformanceMonitoring3.h” |
Minimum version |
1.4 |