Structures

VkMemoryDedicatedAllocateInfoTensorARM

Specify a dedicated memory allocation tensor resource

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:

typedef struct VkMemoryDedicatedAllocateInfoTensorARM {
    VkStructureType sType;
    const void* pNext;
    VkTensorARM tensor;
} VkMemoryDedicatedAllocateInfoTensorARM;
  • 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.

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