Function Prototype
vkCmdCopyTensorARM
Copy data between tensors
To copy data between tensor objects, call:
void vkCmdCopyTensorARM(
VkCommandBuffer commandBuffer,
const VkCopyTensorInfoARM* pCopyTensorInfo);
pub fn cmd_copy_tensor_arm(
command_buffer: vk::CommandBuffer,
p_copy_tensor_info: *const vk::CopyTensorInfoARM,
);
commandBufferis the command buffer into which the command will be recorded.pCopyTensorInfois a pointer to VkCopyTensorInfoARM structure describing the copy parameters.
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 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
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Parent
VK_ARM_tensorsType
Function Prototype
Command Buffer Level
primary / secondary
Render Pass Scope
outside
Queue Types
VK_QUEUE_TRANSFER_BIT / VK_QUEUE_GRAPHICS_BIT / VK_QUEUE_COMPUTE_BIT
Command Type
action