Skip to content

OnGPUStressTestFinished

Navigation: ADLX SDK ReferencesADLX InterfacesGPUIADLXGPUStressTestFinishedListener

Syntax

adlx_bool    OnGPUStressTestFinished (IADLXGPU3* pGPU, adlx_bool result)

Parameters

#DirectionNameTypeDescription
1.[out]pGPUIADLXGPU3The pointer to a GPU where the GPU stress test finished.
#DirectionNameTypeDescription
---------------
2.[out]resultadlx_boolThe result of the GPU stress test. The variable is true if the stress test was successful. The variable is false if the stress test failed.

Return Value

If the application requires ADLX to continue notifying the next listener, true must be returned.

If the application requires ADLX to stop notifying the next listener, false must be returned.

Remarks

Once the application registers for notification with StartStressTest, ADLX will call this method when the GPU stress test is completed. This method should return quickly to avoid blocking ADLX’s execution path. If processing the event notification requires a significant time, the application must:

  • Hold onto a reference to the GPU stress test finished event with Acquire.
  • Make it available on an asynchronous thread.
  • Return immediately.
  • When the asynchronous thread is done processing, discard the GPU stress test finished event with Release. .

Requirements

Headerinclude “ISystem3.h”
Minimum version1.5

See Also: IADLXGPU3, StartStressTest, Acquire, Release