Function Prototype

vkDestroyCudaFunctionNV

Destroy a CUDA function

To destroy a CUDA function handle, call:

void vkDestroyCudaFunctionNV(
    VkDevice device,
    VkCudaFunctionNV function,
    const VkAllocationCallbacks* pAllocator);
  • device is the logical device that destroys the Function.
  • function is the handle of the CUDA function to destroy.
  • pAllocator controls host memory allocation as described in the Memory Allocation chapter.

Valid Usage (Implicit)

VUID-vkDestroyCudaFunctionNV-pAllocator-parameter

If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure

VUID-vkDestroyCudaFunctionNV-function-parent

function must have been created, allocated, or retrieved from device