VkGpaDeviceClockModeInfoAMD(3)
C Specification
The VkGpaDeviceClockModeInfoAMD structure is defined as:
// Provided by VK_AMD_gpa_interface
typedef struct VkGpaDeviceClockModeInfoAMD {
VkStructureType sType;
const void* pNext;
VkGpaDeviceClockModeAMD clockMode;
float memoryClockRatioToPeak;
float engineClockRatioToPeak;
} VkGpaDeviceClockModeInfoAMD;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
clockModeis a enum:VkGpaDeviceClockModeAMD value specify which clock mode to set, or whether to query the current clocks. -
memoryClockRatioToPeakis the returned ratio of the current memory clock to the maximum memory clock, ifclockModeis VK_GPA_DEVICE_CLOCK_MODE_QUERY_AMD. -
engineClockRatioToPeakis the returned ratio of the current engine clock to the maximum engine clock, ifclockModeis VK_GPA_DEVICE_CLOCK_MODE_QUERY_AMD.
Description
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.
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.