C Specification
The VkCopyTensorInfoARM structure is defined as:
// Provided by VK_ARM_tensors
typedef struct VkCopyTensorInfoARM {
VkStructureType sType;
const void* pNext;
VkTensorARM srcTensor;
VkTensorARM dstTensor;
uint32_t regionCount;
const VkTensorCopyARM* pRegions;
} VkCopyTensorInfoARM;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextis NULL or a pointer to a structure extending this structure. -
srcTensoris the source tensor. -
dstTensoris the destination tensor. -
regionCountis the number of regions to copy. -
pRegionsis a pointer to an array of VkTensorCopyARM structures specifying the regions to copy.
Description
Each region in pRegions describes a region to be copied from the
source tensor to a corresponding region of the destination tensor.
srcTensor and dstTensor can be the same tensor or alias the
same memory.
The formats of srcTensor and dstTensor must be compatible.
Formats are compatible if they share the same class, as shown in the
Compatible Formats table.
|
Note
|
editing-note
The valid usage rules restrict copies to copying whole tensors of equal sizes. That is, only a single region can be copied and this region must be the entire tensor. This means the entire tensor must be copied. These restrictions may be relaxed in future extensions. |
vkCmdCopyTensorARM allows copying between size-compatible internal
formats.
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.