Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

vkCreateTensorViewARM(3)

Name

vkCreateTensorViewARM - Create an tensor view from an existing tensor

C Specification

To create a tensor view, call:

// Provided by VK_ARM_tensorsVkResult vkCreateTensorViewARM(    VkDevice                                    device,    const VkTensorViewCreateInfoARM*            pCreateInfo,    const VkAllocationCallbacks*                pAllocator,    VkTensorViewARM*                            pView);

Parameters

  • device is the logical device that creates the tensor view.

  • pCreateInfo is a pointer to an instance of theVkTensorViewCreateInfoARM structure containing parameters to beused to create the tensor view.

  • pAllocator controls host memory allocation as described in theMemory Allocation chapter.

  • pView is a pointer to aVkTensorViewARM handle in which theresulting tensor view object is returned.

Description

Some of the tensor creation parameters are inherited by the view.In particular, other than format, the tensor view creation inherits allother parameters from the tensor.

The remaining parameters are contained inpCreateInfo.

Valid Usage (Implicit)
  • VUID-vkCreateTensorViewARM-device-parameter
    devicemust be a validVkDevice handle

  • VUID-vkCreateTensorViewARM-pCreateInfo-parameter
    pCreateInfomust be a valid pointer to a validVkTensorViewCreateInfoARM structure

  • VUID-vkCreateTensorViewARM-pAllocator-parameter
    IfpAllocator is notNULL,pAllocatormust be a valid pointer to a validVkAllocationCallbacks structure

  • VUID-vkCreateTensorViewARM-pView-parameter
    pViewmust be a valid pointer to aVkTensorViewARM handle

  • VUID-vkCreateTensorViewARM-device-queuecount
    The devicemust have been created with at least1 queue

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