C Specification
To record a CUDA kernel launch, call:
// Provided by VK_NV_cuda_kernel_launch
void vkCmdCudaLaunchKernelNV(
VkCommandBuffer commandBuffer,
const VkCudaLaunchInfoNV* pLaunchInfo);
Parameters
-
commandBuffer
is the command buffer into which the command will be recorded. -
pLaunchInfo
is a pointer to a VkCudaLaunchInfoNV structure in which the grid (similar to workgroup) dimension, function handle and related arguments are defined.
Description
When the command is executed, a global workgroup consisting of
gridDimX
× gridDimY
× gridDimZ
local
workgroups is assembled.
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.