vkCreateTensorARM(3)
C Specification
To create tensors, call:
// Provided by VK_ARM_tensors
VkResult vkCreateTensorARM(
VkDevice device,
const VkTensorCreateInfoARM* pCreateInfo,
const VkAllocationCallbacks* pAllocator,
VkTensorARM* pTensor);
Parameters
-
device
is the logical device that creates the tensor. -
pCreateInfo
is a pointer to a VkTensorCreateInfoARM structure containing parameters to be used to create the tensor. -
pAllocator
controls host memory allocation as described in the Memory Allocation chapter. -
pTensor
is a pointer to a VkTensorARM handle in which the resulting tensor object is returned.
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.