Structures

VkGpaDeviceClockModeInfoAMD

Structure containing returned clock ratios or clock mode to set

The VkGpaDeviceClockModeInfoAMD structure is defined as:

typedef struct VkGpaDeviceClockModeInfoAMD {
    VkStructureType sType;
    const void* pNext;
    VkGpaDeviceClockModeAMD clockMode;
    float memoryClockRatioToPeak;
    float engineClockRatioToPeak;
} VkGpaDeviceClockModeInfoAMD;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • clockMode is a enum:VkGpaDeviceClockModeAMD value specify which clock mode to set, or whether to query the current clocks.
  • memoryClockRatioToPeak is the returned ratio of the current memory clock to the maximum memory clock, if clockMode is VK_GPA_DEVICE_CLOCK_MODE_QUERY_AMD.
  • engineClockRatioToPeak is the returned ratio of the current engine clock to the maximum engine clock, if clockMode is VK_GPA_DEVICE_CLOCK_MODE_QUERY_AMD.

If clockMode is VK_GPA_DEVICE_CLOCK_MODE_QUERY_AMD, memoryClockRatioToPeak and engineClockRatioToPeak are filled with the ratios of their current values to their maximums respectively, otherwise they are left unchanged.

Valid Usage (Implicit)

VUID-VkGpaDeviceClockModeInfoAMD-sType-sType

sType must be VK_STRUCTURE_TYPE_GPA_DEVICE_CLOCK_MODE_INFO_AMD