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;
pub struct GpaDeviceClockModeInfoAMD {
s_type: vk::StructureType,
p_next: *const c_void,
clock_mode: vk::GpaDeviceClockModeAMD,
memory_clock_ratio_to_peak: f32,
engine_clock_ratio_to_peak: f32,
}
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, ifclockModeisVK_GPA_DEVICE_CLOCK_MODE_QUERY_AMD.engineClockRatioToPeakis the returned ratio of the current engine clock to the maximum engine clock, ifclockModeisVK_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
VUID-VkGpaDeviceClockModeInfoAMD-pNext-pNext
pNext must be NULL
VUID-VkGpaDeviceClockModeInfoAMD-clockMode-parameter
clockMode must be a valid VkGpaDeviceClockModeAMD value
Parent
VK_AMD_gpa_interfaceType
Structures