vkDestroyTensorARM(3)

# vkDestroyTensorARM(3) Manual Page

## Name

vkDestroyTensorARM - Destroy a tensor object

## C Specification

To destroy a tensor, call:

    // Provided by VK_ARM_tensors
    void vkDestroyTensorARM(
        VkDevice                                    device,
        VkTensorARM                                 tensor,
        const VkAllocationCallbacks*                pAllocator);

## Parameters

- `device` is the logical device that destroys the tensor.

- `tensor` is the tensor to destroy.

- `pAllocator` controls host memory allocation as described in the Memory Allocation chapter.

## Description

Valid Usage

- VUID-vkDestroyTensorARM-tensor-09730
  All submitted commands that refer to `tensor`, either directly or via a `VkTensorViewARM`, must have completed execution

- VUID-vkDestroyTensorARM-tensor-09731
  If `VkAllocationCallbacks` were provided when `tensor` was created, a compatible set of callbacks must be provided here

- VUID-vkDestroyTensorARM-tensor-09732
  If no `VkAllocationCallbacks` were provided when `tensor` was created, `pAllocator` must be `NULL`

Valid Usage (Implicit)

- VUID-vkDestroyTensorARM-device-parameter
  `device` must be a valid VkDevice handle

- VUID-vkDestroyTensorARM-tensor-parameter
  If `tensor` is not VK_NULL_HANDLE, `tensor` must be a valid VkTensorARM handle

- VUID-vkDestroyTensorARM-pAllocator-parameter
  If `pAllocator` is not `NULL`, `pAllocator` must be a valid pointer to a valid VkAllocationCallbacks structure

- VUID-vkDestroyTensorARM-tensor-parent
  If `tensor` is a valid handle, it must have been created, allocated, or retrieved from `device`

Host Synchronization

- Host access to `tensor` must be externally synchronized

## See Also

VK_ARM_tensors, VkAllocationCallbacks, VkDevice, VkTensorARM

## 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

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0