C Specification

To create a tensor for which only a rolling window is backed by memory, add a VkTensorRollingBackingCreateInfoARM structure to the pNext chain of the VkTensorCreateInfoARM structure.

The VkTensorRollingBackingCreateInfoARM structure is defined as:

// Provided by VK_ARM_tensor_controls
typedef struct VkTensorRollingBackingCreateInfoARM {
    VkStructureType    sType;
    const void*        pNext;
    uint32_t           wraps[VK_MAX_TENSOR_CREATE_INFO_ROLLING_BACKING_WRAP_COUNT_ARM];
} VkTensorRollingBackingCreateInfoARM;

Members

Description

Rolling backing common parameters

Valid values for some rolling backing creation parameters are calculated from others that are a function of tensor creation parameters. To improve the readability of Valid Usage rules for VkTensorRollingBackingCreateInfoARM, these latter values are defined once in this inset.

Valid Usage
  • VUID-VkTensorRollingBackingCreateInfoARM-wraps-09835
    For each i where i < VkTensorDescriptionARM::dimensionCount, wraps[i] must be less than or equal to VkTensorDescriptionARM::pDimensions[i]

  • VUID-VkTensorRollingBackingCreateInfoARM-wraps-09836
    For each i where i < VkTensorDescriptionARM::dimensionCount, wraps[i] must either be equal to VkTensorDescriptionARM::pDimensions[i] or must be less than 2^16

  • VUID-VkTensorRollingBackingCreateInfoARM-wraps-09837
    For each i where i < VkTensorDescriptionARM::dimensionCount, if wraps[i] is not equal to VkTensorDescriptionARM::pDimensions[i] and one element wraps[j] with j < i is not a power of two, then wraps[i] must be a power of two

  • VUID-VkTensorRollingBackingCreateInfoARM-wraps-09838
    If VkTensorDescriptionARM::dimensionCount is greater than 1, then wraps[dimensionCount - 2] must be a multiple of brickOuterSize or must be equal to VkTensorDescriptionARM::pDimensions[dimensionCount - 2]

  • VUID-VkTensorRollingBackingCreateInfoARM-wraps-09839
    If brickOuterSize is not equal to 1, then wraps[dimensionCount - 1] must be a multiple of 64 / brickOuterSize / elementSize or be equal to VkTensorDescriptionARM::pDimensions[dimensionCount - 1]

Valid Usage (Implicit)

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

SPDX-License-Identifier: CC-BY-4.0