Initialize

Initializes ADLX with default parameters.

Syntax

Copied!

ADLX_RESULT  Initialize ()

Parameters

N/A

Return Value

If Initialize is successfully executed, ADLX_OK is returned.

If Initialize is not successfully executed, an error code is returned.

If ADLX was previously successfully initialized with any of the initialization functions, ADLX_ALREADY_INITIALIZED is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

This method is used when an application does not use the ADL library and initializes ADLX with default parameters.

For more information for initializing ADLX with default parameters, refer to ADLX GPU Support .

Requirements

Header

include “ADLXHelper/Windows/Cpp/ADLXHelper.h”

Minimum version

1.0