Function Prototype

vkCmdCopyTensorARM

Copy data between tensors

To copy data between tensor objects, call:

void vkCmdCopyTensorARM(
    VkCommandBuffer commandBuffer,
    const VkCopyTensorInfoARM* pCopyTensorInfo);
  • commandBuffer is the command buffer into which the command will be recorded.
  • pCopyTensorInfo is a pointer to VkCopyTensorInfoARM structure describing the copy parameters.

Valid Usage (Implicit)

VUID-vkCmdCopyTensorARM-pCopyTensorInfo-parameter

pCopyTensorInfo must be a valid pointer to a valid VkCopyTensorInfoARM structure

VUID-vkCmdCopyTensorARM-commandBuffer-cmdpool

The VkCommandPool that commandBuffer was allocated from must support VK_QUEUE_COMPUTE_BIT, VK_QUEUE_GRAPHICS_BIT, or VK_QUEUE_TRANSFER_BIT operations

VUID-vkCmdCopyTensorARM-renderpass

This command must only be called outside of a render pass instance

VUID-vkCmdCopyTensorARM-suspended

This command must not be called between suspended render pass instances

VUID-vkCmdCopyTensorARM-videocoding

This command must only be called outside of a video coding scope

Host Synchronization

  • Host access to commandBuffer must be externally synchronized
  • Host access to the VkCommandPool that commandBuffer was allocated from must be externally synchronized