Query NvSciSyncObj Attributes from Vulkan SC#
Use the vkGetPhysicalDeviceSciSyncAttributesNV
API to query the NvSciSync
attributes from Vulkan SC for a given Vulkan SC physical device. The NvSciSyncAttrLists
passed to this API must be allocated and managed by application. Depending on the Vulkan SC synchronization primitive (VkFence
or VkSemaphore
) used, VkSciSyncAttributesInfoNV::VkSciSyncPrimitiveTypeNV
needs to be specified for selecting the correct primitive. Currently, VkFence
only supports interop with sync point backed NvSciSync
object (NvSciSyncAttrValPrimitiveType_Syncpoint
), and VkSemaphore
only supports interop with sysmem semaphore backed NvSciSync
object (NvSciSyncAttrValPrimitiveType_SysmemSemaphore
).