# vkDestroyTensorViewARM(3) Manual Page

## Name

vkDestroyTensorViewARM - Destroy a tensor view object

Loading… please wait.

## C Specification

To destroy a tensor view, call:

    // Provided by VK_ARM_tensors
    void vkDestroyTensorViewARM(
        VkDevice                                    device,
        VkTensorViewARM                             tensorView,
        const VkAllocationCallbacks*                pAllocator);

## Parameters

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

- `tensorView` is the tensor view to destroy.

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

## Description

Valid Usage

- VUID-vkDestroyTensorViewARM-tensorView-09750
  All submitted commands that refer to `tensorView` must have completed execution

- VUID-vkDestroyTensorViewARM-tensorView-09751
  If `VkAllocationCallbacks` were provided when `tensorView` was created, a compatible set of callbacks must be provided here

- VUID-vkDestroyTensorViewARM-tensorView-09752
  If no `VkAllocationCallbacks` were provided when `tensorView` was created, `pAllocator` must be `NULL`

Valid Usage (Implicit)

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

- VUID-vkDestroyTensorViewARM-tensorView-parameter
  If `tensorView` is not VK_NULL_HANDLE, `tensorView` must be a valid VkTensorViewARM handle

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

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

Host Synchronization

- Host access to `tensorView` must be externally synchronized

## See Also

VK_ARM_tensors, VkAllocationCallbacks, VkDevice, VkTensorViewARM

## 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-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0