Structures

VkExecutionGraphPipelineScratchSizeAMDX

Structure describing the scratch space required to dispatch an execution graph

The VkExecutionGraphPipelineScratchSizeAMDX structure is defined as:

typedef struct VkExecutionGraphPipelineScratchSizeAMDX {
    VkStructureType sType;
    void* pNext;
    VkDeviceSize minSize;
    VkDeviceSize maxSize;
    VkDeviceSize sizeGranularity;
} VkExecutionGraphPipelineScratchSizeAMDX;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • minSize indicates the minimum scratch space required for dispatching the queried execution graph.
  • maxSize indicates the maximum scratch space that can be used for dispatching the queried execution graph.
  • sizeGranularity indicates the granularity at which the scratch space can be increased from minSize.

Applications can use any amount of scratch memory greater than minSize for dispatching a graph, however only the values equal to minSize + an integer multiple of sizeGranularity will be used. Greater values may result in higher performance, up to maxSize which indicates the most memory that an implementation can use effectively.

Valid Usage (Implicit)

VUID-VkExecutionGraphPipelineScratchSizeAMDX-sType-sType

sType must be VK_STRUCTURE_TYPE_EXECUTION_GRAPH_PIPELINE_SCRATCH_SIZE_AMDX