vkGetGpaDeviceClockInfoAMD(3)

# vkGetGpaDeviceClockInfoAMD(3) Manual Page

## Name

vkGetGpaDeviceClockInfoAMD - Getting device clocks and ratios

## C Specification

To query the GPU clock current values and their ratios to their maximums, call:

    // Provided by VK_AMD_gpa_interface
    VkResult vkGetGpaDeviceClockInfoAMD(
        VkDevice                                    device,
        VkGpaDeviceGetClockInfoAMD*                 pInfo);

## Parameters

- `device` is the logical device to get clock information from.

- `pInfo` is a pointer to a VkGpaDeviceGetClockInfoAMD structure in which the clock values are returned.

## Description

Valid Usage (Implicit)

- VUID-vkGetGpaDeviceClockInfoAMD-device-parameter
  `device` must be a valid VkDevice handle

- VUID-vkGetGpaDeviceClockInfoAMD-pInfo-parameter
  `pInfo` must be a valid pointer to a VkGpaDeviceGetClockInfoAMD structure

Return Codes

On success, this command returns

  - VK_SUCCESS

On failure, this command returns

  - VK_ERROR_OUT_OF_DEVICE_MEMORY

  - VK_ERROR_OUT_OF_HOST_MEMORY

  - VK_ERROR_UNKNOWN

  - VK_ERROR_VALIDATION_FAILED

## See Also

VK_AMD_gpa_interface, VkDevice, VkGpaDeviceGetClockInfoAMD

## Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0