C Specification

To copy data between tensor objects, call:

// Provided by VK_ARM_tensors
void vkCmdCopyTensorARM(
    VkCommandBuffer                             commandBuffer,
     const VkCopyTensorInfoARM*                 pCopyTensorInfo);

Parameters

  • commandBuffer is the command buffer into which the command will be recorded.

  • pCopyTensorInfo is a pointer to VkCopyTensorInfoARM structure describing the copy parameters.

Description

Valid Usage (Implicit)
  • VUID-vkCmdCopyTensorARM-commandBuffer-parameter
    commandBuffer must be a valid VkCommandBuffer handle

  • VUID-vkCmdCopyTensorARM-pCopyTensorInfo-parameter
    pCopyTensorInfo must be a valid pointer to a valid VkCopyTensorInfoARM structure

  • VUID-vkCmdCopyTensorARM-commandBuffer-recording
    commandBuffer must be in the recording state

  • VUID-vkCmdCopyTensorARM-commandBuffer-cmdpool
    The VkCommandPool that commandBuffer was allocated from must support transfer, graphics, or compute operations

  • VUID-vkCmdCopyTensorARM-renderpass
    This command must only be called outside of a render pass instance

  • 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

Command Properties
Command Buffer Levels Render Pass Scope Video Coding Scope Supported Queue Types Command Type

Primary
Secondary

Outside

Outside

Transfer
Graphics
Compute

Action

See Also

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.

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0