C Specification

There is currently no specification language written for this command. This section acts only as placeholder and to avoid dead links in the specification and reference pages.

// Provided by VK_NVX_binary_import
VkResult vkCreateCuFunctionNVX(
    VkDevice                                    device,
    const VkCuFunctionCreateInfoNVX*            pCreateInfo,
    const VkAllocationCallbacks*                pAllocator,
    VkCuFunctionNVX*                            pFunction);

Description

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

  • VUID-vkCreateCuFunctionNVX-pCreateInfo-parameter
    pCreateInfo must be a valid pointer to a valid VkCuFunctionCreateInfoNVX structure

  • VUID-vkCreateCuFunctionNVX-pAllocator-parameter
    If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure

  • VUID-vkCreateCuFunctionNVX-pFunction-parameter
    pFunction must be a valid pointer to a VkCuFunctionNVX handle

Return Codes
On success, this command returns
  • VK_SUCCESS

On failure, this command returns
  • VK_ERROR_OUT_OF_HOST_MEMORY

  • 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-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0