IsSupported

Checks if AMD SmartAccess Memory is supported on a GPU.

Syntax

Copied!

ADLX_RESULT     IsSupported (adlx_bool* supported)

Parameters

  1. [out] supported 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 supported. The variable is false if AMD SmartAccess Memory is not supported.

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