Structures
VkTensorCopyARM
Structure specifying an tensor copy region
The VkTensorCopyARM structure is defined as:
typedef struct VkTensorCopyARM {
VkStructureType sType;
const void* pNext;
uint32_t dimensionCount;
const uint64_t* pSrcOffset;
const uint64_t* pDstOffset;
const uint64_t* pExtent;
} VkTensorCopyARM;
pub struct TensorCopyARM {
s_type: vk::StructureType,
p_next: *const c_void,
dimension_count: u32,
p_src_offset: *const u64,
p_dst_offset: *const u64,
p_extent: *const u64,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.dimensionCountis the number of elements in thepSrcOffset,pDstOffsetandpExtentarrays.pSrcOffsetisNULLor an array of sizedimensionCountproviding an offset into the source tensor. WhenpSrcOffsetisNULL, the offset into the source tensor is0in all dimensions.pDstOffsetisNULLor an array of sizedimensionCountproviding an offset into the destination tensor. WhenpDstOffsetisNULL, the offset into the destination tensor is0in all dimensions.pExtentisNULLor an array of sizedimensionCountproviding the number of elements to copy in each dimension. WhenpExtentisNULL, the number of elements to copy is taken as the total number of elements in each dimension of the source tensor.
Valid Usage
VUID-VkTensorCopyARM-dimensionCount-09955
dimensionCount must be greater than 0 if pSrcOffset,
pDstOffset, or pExtent is not NULL
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 dimensionCount is not 0, and pSrcOffset is not NULL, pSrcOffset must be a valid pointer to an array of dimensionCount uint64_t values
VUID-VkTensorCopyARM-pDstOffset-parameter
If dimensionCount is not 0, and pDstOffset is not NULL, pDstOffset must be a valid pointer to an array of dimensionCount uint64_t values
VUID-VkTensorCopyARM-pExtent-parameter
If dimensionCount is not 0, and pExtent is not NULL, pExtent must be a valid pointer to an array of dimensionCount uint64_t values
Parent
VK_ARM_tensorsType
Structures