GpaDestroy
Copyright (c) 2018-2024 Advanced Micro Devices, Inc. All rights reserved.
Syntax
GpaStatus GpaDestroy();
Description
Undoes any initialization to ensure proper behavior in applications that are not being profiled. This function must be called before the rendering context or device is released / destroyed.
Return value
Return value | Description |
---|---|
kGpaStatusOk | GPA was destroyed. |
kGpaStatusErrorGpaNotInitialized | GPA was not initialized. Call GpaInitialize before all other entrypoints. |
kGpaStatusErrorException | Exception occurred. |