Function Prototype

vkGetExecutionGraphPipelineScratchSizeAMDX

Query scratch space required to dispatch an execution graph

To query the scratch space required to dispatch an execution graph, call:

VkResult vkGetExecutionGraphPipelineScratchSizeAMDX(
    VkDevice                                        device,
    VkPipeline                                      executionGraph,
    VkExecutionGraphPipelineScratchSizeAMDX*         pSizeInfo);
  • device is the that executionGraph was created on.
  • executionGraph is the execution graph pipeline to query the scratch space for.
  • pSizeInfo is a pointer to a VkExecutionGraphPipelineScratchSizeAMDX structure that will contain the required scratch size.

After this function returns, information about the scratch space required will be returned in pSizeInfo.