Function Prototype

vkGetTensorMemoryRequirementsARM

Returns the memory requirements for specified Vulkan object

To determine the memory requirements for a tensor resource, call:

void vkGetTensorMemoryRequirementsARM(
    VkDevice device,
    const VkTensorMemoryRequirementsInfoARM* pInfo,
    VkMemoryRequirements2* pMemoryRequirements);
  • device is the logical device that owns the tensor.
  • pInfo is a pointer to a VkTensorMemoryRequirementsInfoARM structure containing parameters required for the memory requirements query.
  • pMemoryRequirements is a pointer to a VkMemoryRequirements2 structure in which the memory requirements of the tensor object are returned.

Valid Usage (Implicit)

VUID-vkGetTensorMemoryRequirementsARM-pMemoryRequirements-parameter

pMemoryRequirements must be a valid pointer to a VkMemoryRequirements2 structure