C Specification

To obtain the implementation-specific NvSciSync attributes in an unreconciled NvSciSyncAttrList, call:

// Provided by VK_NV_external_sci_sync, VK_NV_external_sci_sync2
VkResult vkGetPhysicalDeviceSciSyncAttributesNV(
    VkPhysicalDevice                            physicalDevice,
    const VkSciSyncAttributesInfoNV*            pSciSyncAttributesInfo,
    NvSciSyncAttrList                           pAttributes);

Parameters

  • physicalDevice is the handle to the physical device that will be used to determine the attributes.

  • pSciSyncAttributesInfo is a pointer to a VkSciSyncAttributesInfoNV structure containing information about how the attributes are to be filled.

  • pAttributes is an opaque NvSciSyncAttrList in which the implementation will set the requested attributes.

Description

On success, pAttributes will contain an unreconciled NvSciSyncAttrList whose private attributes and some public attributes are filled in by the implementation. If the attributes of physicalDevice could not be obtained, VK_ERROR_INITIALIZATION_FAILED is returned.

Valid Usage
Valid Usage (Implicit)
  • VUID-vkGetPhysicalDeviceSciSyncAttributesNV-physicalDevice-parameter
    physicalDevice must be a valid VkPhysicalDevice handle

  • VUID-vkGetPhysicalDeviceSciSyncAttributesNV-pSciSyncAttributesInfo-parameter
    pSciSyncAttributesInfo must be a valid pointer to a valid VkSciSyncAttributesInfoNV structure

Return Codes
On success, this command returns
  • VK_SUCCESS

On failure, this command returns
  • VK_ERROR_INITIALIZATION_FAILED

See Also

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.

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0