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;
pub struct MemoryDedicatedAllocateInfoTensorARM {
s_type: vk::StructureType,
p_next: *const c_void,
tensor: vk::TensorARM, // Tensor that this allocation will be bound to
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.tensoris 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
VUID-VkMemoryDedicatedAllocateInfoTensorARM-tensor-parameter
tensor must be a valid VkTensorARM handle