VkCudaFunctionCreateInfoNV(3)

# VkCudaFunctionCreateInfoNV(3) Manual Page

## Name

VkCudaFunctionCreateInfoNV - Structure specifying the parameters to create a CUDA Function

Loading… please wait.

## C Specification

The `VkCudaFunctionCreateInfoNV` structure is defined as:

    // Provided by VK_NV_cuda_kernel_launch
    typedef struct VkCudaFunctionCreateInfoNV {
        VkStructureType    sType;
        const void*        pNext;
        VkCudaModuleNV     module;
        const char*        pName;
    } VkCudaFunctionCreateInfoNV;

## Members

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `module` is the CUDA VkCudaModuleNV module in which the function resides.

- `pName` is a null-terminated UTF-8 string containing the name of the shader entry point for this stage.

## Description

Valid Usage (Implicit)

- VUID-VkCudaFunctionCreateInfoNV-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_CUDA_FUNCTION_CREATE_INFO_NV`

- VUID-VkCudaFunctionCreateInfoNV-pNext-pNext
  `pNext` must be `NULL`

- VUID-VkCudaFunctionCreateInfoNV-module-parameter
  `module` must be a valid VkCudaModuleNV handle

- VUID-VkCudaFunctionCreateInfoNV-pName-parameter
  `pName` must be a null-terminated UTF-8 string

## See Also

VK_NV_cuda_kernel_launch, VkCudaModuleNV, VkStructureType, vkCreateCudaFunctionNV

## 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

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0