IsEnabled

Checks if AMD SmartAccess Memory is enabled on a GPU.

Syntax

Copied!

ADLX_RESULT     IsEnabled (adlx_bool* enabled)

Parameters

  1. [out] enabled adlx_bool* The pointer to a variable where the state of AMD SmartAccess Memory is returned. The variable is true if AMD SmartAccess Memory is enabled. The variable is false if AMD SmartAccess Memory is not enabled.

Return Value

If the state of AMD SmartAccess Memory is successfully returned, ADLX_OK is returned.

If the state of AMD SmartAccess Memory is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “ISmartAccessMemory.h”

Minimum version

1.2