Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

VkTensorCopyARM(3)

Name

VkTensorCopyARM - Structure specifying an tensor copy region

C Specification

TheVkTensorCopyARM structure is defined as:

// Provided by VK_ARM_tensorstypedef 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 aVkStructureType value identifying this structure.

  • pNext isNULL or a pointer to a structure extending thisstructure.

  • dimensionCount is the number of elements in thepSrcOffset,pDstOffset andpExtent arrays.

  • pSrcOffset isNULL or an array of sizedimensionCountproviding an offset into the source tensor.WhenpSrcOffset isNULL, the offset into the source tensor is0 in all dimensions.

  • pDstOffset isNULL or an array of sizedimensionCountproviding an offset into the destination tensor.WhenpDstOffset isNULL, the offset into the destination tensoris0 in all dimensions.

  • pExtent isNULL or an array of sizedimensionCountproviding the number of elements to copy in each dimension.WhenpExtent isNULL, the number of elements to copy is taken asthe total number of elements in each dimension of the source tensor.

Description

Valid Usage
  • VUID-VkTensorCopyARM-dimensionCount-09955
    dimensionCountmust be greater than 0 ifpSrcOffset,pDstOffset, orpExtent is notNULL

Valid Usage (Implicit)
  • VUID-VkTensorCopyARM-sType-sType
    sTypemust beVK_STRUCTURE_TYPE_TENSOR_COPY_ARM

  • VUID-VkTensorCopyARM-pNext-pNext
    pNextmust beNULL

  • VUID-VkTensorCopyARM-pSrcOffset-parameter
    IfdimensionCount is not0, andpSrcOffset is notNULL,pSrcOffsetmust be a valid pointer to an array ofdimensionCountuint64_t values

  • VUID-VkTensorCopyARM-pDstOffset-parameter
    IfdimensionCount is not0, andpDstOffset is notNULL,pDstOffsetmust be a valid pointer to an array ofdimensionCountuint64_t values

  • VUID-VkTensorCopyARM-pExtent-parameter
    IfdimensionCount is not0, andpExtent is notNULL,pExtentmust be a valid pointer to an array ofdimensionCountuint64_t values

See Also

Document Notes

For more information, see theVulkan Specification.

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


[8]ページ先頭

©2009-2026 Movatter.jp