Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

VkTensorCreateInfoARM(3)

Name

VkTensorCreateInfoARM - Structure specifying the parameters of a newly created tensor object

C Specification

TheVkTensorCreateInfoARM structure is defined as:

// Provided by VK_ARM_tensorstypedef struct VkTensorCreateInfoARM {    VkStructureType                  sType;    const void*                      pNext;    VkTensorCreateFlagsARM           flags;    const VkTensorDescriptionARM*    pDescription;    VkSharingMode                    sharingMode;    uint32_t                         queueFamilyIndexCount;    const uint32_t*                  pQueueFamilyIndices;} VkTensorCreateInfoARM;

Members

  • sType is aVkStructureType value identifying this structure.

  • pNext isNULL or a pointer to a structure extending thisstructure.

  • flags is a bitmask ofVkTensorCreateFlagBitsARM describingadditional parameters of the tensor.

  • pDescription is a pointer to an instance ofVkTensorDescriptionARM describing the tensor.

  • sharingMode is aVkSharingMode value specifying the sharingmode of the tensor when it will be accessed by multiple queue families.

  • queueFamilyIndexCount is the number of entries in thepQueueFamilyIndices array.

  • pQueueFamilyIndices is a list of queue families that will accessthis tensor (ignored ifsharingMode is notVK_SHARING_MODE_CONCURRENT).

Description

To determine the set of validusage bits for a given tensor format,callvkGetPhysicalDeviceFormatProperties2 withVkTensorFormatPropertiesARM in thepNext chain.

Tensor Creation Limits

Valid values for some tensor creation parameters are limited by a numericalupper bound or by inclusion in a bitset.

Several limiting values are defined below.The limiting values are referenced by the relevant valid usage statements ofVkTensorCreateInfoARM.

  • Let theuint64_t tensorElements define the number of data elementsin the tensor computed as the product of allVkTensorCreateInfoARM::pDescription->pDimensions[i] for ibetween 0 andVkTensorCreateInfoARM::pDescription->dimensionCount - 1.

Valid Usage
Valid Usage (Implicit)

See Also

Document Notes

For more information, see theVulkan Specification.

This page is extracted from the Vulkan Specification.Fixes and changes should be made to the Specification, not directly.


[8]ページ先頭

©2009-2026 Movatter.jp