IADLXGPUsEventListener

The IADLXGPUsEventListener interface is implemented in the application to receive a new list of GPUs from ADLX when the GPU list changes.

InterfaceId:

N/A

Smart Pointer Interface Name:

N/A

Inherits:

N/A

Inherited By:

N/A

An instance of the implemented IADLXGPUsEventListener interface must be passed to AddGPUsListEventListener to register for notifications when the GPU list changes.

For more information about subscribing for event notifications, refer to Subscribing to Event Notifications using ADLX .

Methods

Method

Description

OnGPUListChanged

The OnGPUListChanged is called by ADLX when the GPU list changes.

Requirements

Header

include “ISystem.h”

Minimum version

1.0

Example

To see how to use this interface in a C++ application, refer to the GPUs C++ sample .

For a C application, refer to the GPUs C sample .