Name

Gets the name of a GPU.

Syntax

Copied!

ADLX_RESULT     Name (const char** name)

Parameters

  1. [out] name const char** The pointer to a zero-terminated string where the name of the GPU is returned.

Return Value

If the name is successfully returned, ADLX_OK is returned.

If the name is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

The returned memory buffer is valid within a lifetime of the IADLXGPU interface.

If the application uses the name beyond the lifetime of the IADLXGPU interface, the application must make a copy of the name.

Requirements

Header

include “ISystem.h”

Minimum version

1.0