X Tutup

vkBindTensorMemoryARM(3)

Name

vkBindTensorMemoryARM - Bind device memory to tensor objects

C Specification

To attach memory to tensor objects call:

// Provided by VK_ARM_tensors
VkResult vkBindTensorMemoryARM(
    VkDevice                                    device,
    uint32_t                                    bindInfoCount,
    const VkBindTensorMemoryInfoARM*            pBindInfos);

Parameters

  • device is the logical device that owns the buffers and memory.

  • bindInfoCount is the number of elements in pBindInfos.

  • pBindInfos is a pointer to an array of structures of type VkBindTensorMemoryInfoARM, describing tensors and memory to bind.

Description

On some implementations, it may be more efficient to batch memory bindings into a single command.

Valid Usage (Implicit)
  • VUID-vkBindTensorMemoryARM-device-parameter
    device must be a valid VkDevice handle

  • VUID-vkBindTensorMemoryARM-pBindInfos-parameter
    pBindInfos must be a valid pointer to an array of bindInfoCount valid VkBindTensorMemoryInfoARM structures

  • VUID-vkBindTensorMemoryARM-bindInfoCount-arraylength
    bindInfoCount must be greater than 0

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.

X Tutup