VkTensorCopyARM(3)

Name

VkTensorCopyARM - Structure specifying an tensor copy region

C Specification

The VkTensorCopyARM structure is defined as:

// Provided by VK_ARM_tensors
typedef struct VkTensorCopyARM {
    VkStructureType    sType;
    const void*        pNext;
    uint32_t           dimensionCount;
    const uint64_t*    pSrcOffset;
    const uint64_t*    pDstOffset;
    const uint64_t*    pExtent;
} VkTensorCopyARM;

Members

  • sType is a VkStructureType value identifying this structure.

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

  • dimensionCount is the number of elements in the pSrcOffset, pDstOffset and pExtent arrays.

  • pSrcOffset is NULL or an array of size dimensionCount providing an offset into the source tensor. When pSrcOffset is NULL, the offset into the source tensor is 0 in all dimensions.

  • pDstOffset is NULL or an array of size dimensionCount providing an offset into the destination tensor. When pDstOffset is NULL, the offset into the destination tensor is 0 in all dimensions.

  • pExtent is NULL or an array of size dimensionCount providing the number of elements to copy in each dimension. When pExtent is NULL, the number of elements to copy is taken as the total number of elements in each dimension of the source tensor.

Description

Valid Usage (Implicit)
  • VUID-VkTensorCopyARM-sType-sType
    sType must be VK_STRUCTURE_TYPE_TENSOR_COPY_ARM

  • VUID-VkTensorCopyARM-pNext-pNext
    pNext must be NULL

  • VUID-VkTensorCopyARM-pSrcOffset-parameter
    If pSrcOffset is not NULL, pSrcOffset must be a valid pointer to an array of dimensionCount uint64_t values

  • VUID-VkTensorCopyARM-pDstOffset-parameter
    If pDstOffset is not NULL, pDstOffset must be a valid pointer to an array of dimensionCount uint64_t values

  • VUID-VkTensorCopyARM-pExtent-parameter
    If pExtent is not NULL, pExtent must be a valid pointer to an array of dimensionCount uint64_t values

  • VUID-VkTensorCopyARM-dimensionCount-arraylength
    dimensionCount must be greater than 0

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.