Function Prototype

vkGetDeviceTensorMemoryRequirementsARM

Returns the memory requirements for specified tensor creation infos

To determine the memory requirements for a tensor resource without creating an object, call:

void vkGetDeviceTensorMemoryRequirementsARM(
    VkDevice device,
    const VkDeviceTensorMemoryRequirementsARM* pInfo,
    VkMemoryRequirements2* pMemoryRequirements);
  • device is the logical device intended to own the tensor.
  • pInfo is a pointer to a VkDeviceTensorMemoryRequirementsARM 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.