Function Prototype

vkGetTensorOpaqueCaptureDataARM

Get tensor opaque capture descriptor data for descriptor heap replay

To get the opaque capture descriptor data for tensors, call:

VkResult vkGetTensorOpaqueCaptureDataARM(
    VkDevice                                            device,
    uint32_t                                            tensorCount,
    const VkTensorARM*                pTensors,
    VkHostAddressRangeEXT*            pDatas);
  • device is the logical device that gets the data.
  • tensorCount is the number of tensors to retrieve data from.
  • pTensors is a pointer to an array of VkTensorARM objects to retrieve the opaque capture data from.
  • pDatas is a pointer to an array of VkHostAddressRangeEXT structures defining the host address ranges where each tensor’s opaque capture data will be written.

Valid Usage

VUID-vkGetTensorOpaqueCaptureDataARM-size-11392

The size member of each element of pDatas must be equal to tensorCaptureReplayOpaqueDataSize

VUID-vkGetTensorOpaqueCaptureDataARM-device-11393

If device was created with multiple physical devices, then the bufferDeviceAddressMultiDevice feature must be enabled

VUID-vkGetTensorOpaqueCaptureDataARM-pTensors-11394

Each element of pTensors must have been created with VK_TENSOR_CREATE_DESCRIPTOR_HEAP_CAPTURE_REPLAY_BIT_ARM set in VkTensorCreateInfoARM::flags

Valid Usage (Implicit)

VUID-vkGetTensorOpaqueCaptureDataARM-pTensors-parameter

pTensors must be a valid pointer to an array of tensorCount valid VkTensorARM handles

VUID-vkGetTensorOpaqueCaptureDataARM-pDatas-parameter

pDatas must be a valid pointer to an array of tensorCount VkHostAddressRangeEXT structures

VUID-vkGetTensorOpaqueCaptureDataARM-pTensors-parent

Each element of pTensors must have been created, allocated, or retrieved from device