C Specification

If the pNext chain includes a VkMemoryDedicatedAllocateInfoTensorARM structure, then that structure includes a handle of the sole tensor resource that the memory can be bound to.

The VkMemoryDedicatedAllocateInfoTensorARM structure is defined as:

// Provided by VK_ARM_tensors
typedef struct VkMemoryDedicatedAllocateInfoTensorARM {
    VkStructureType    sType;
    const void*        pNext;
    VkTensorARM        tensor;
} VkMemoryDedicatedAllocateInfoTensorARM;

Members

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • tensor is a handle of a tensor which this memory will be bound to.

Description

Valid Usage
  • VUID-VkMemoryDedicatedAllocateInfoTensorARM-allocationSize-09710
    VkMemoryAllocateInfo::allocationSize must equal the VkMemoryRequirements::size of the tensor

  • VUID-VkMemoryDedicatedAllocateInfoTensorARM-tensor-09859
    If VkMemoryAllocateInfo defines a memory import operation with handle type VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT, the memory being imported must also be a dedicated tensor allocation and tensor must be identical to the tensor associated with the imported memory

Valid Usage (Implicit)
  • VUID-VkMemoryDedicatedAllocateInfoTensorARM-sType-sType
    sType must be VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_TENSOR_ARM

  • VUID-VkMemoryDedicatedAllocateInfoTensorARM-tensor-parameter
    tensor must be a valid VkTensorARM handle

See Also

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0