vkSetGpaDeviceClockModeAMD(3)

# vkSetGpaDeviceClockModeAMD(3) Manual Page

## Name

vkSetGpaDeviceClockModeAMD - Setting a device clock

## C Specification

To set or query GPU clocks, call:

    // Provided by VK_AMD_gpa_interface
    VkResult vkSetGpaDeviceClockModeAMD(
        VkDevice                                    device,
        VkGpaDeviceClockModeInfoAMD*                pInfo);

## Parameters

- `device` is the logical device that sets the clocks.

- `pInfo` is a pointer to a VkGpaDeviceClockModeInfoAMD structure specifying the clock mode to set or query.

## Description

Valid Usage

- VUID-vkSetGpaDeviceClockModeAMD-clockModes-12415
  The `VkPhysicalDeviceGpaFeaturesAMD`::`clockModes` feature must be enabled

Valid Usage (Implicit)

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

- VUID-vkSetGpaDeviceClockModeAMD-pInfo-parameter
  `pInfo` must be a valid pointer to a VkGpaDeviceClockModeInfoAMD 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, VkGpaDeviceClockModeInfoAMD

## 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