Structures
VkCudaModuleCreateInfoNV
Structure specifying the parameters to create a CUDA Module
The VkCudaModuleCreateInfoNV
structure is defined as:
typedef struct VkCudaModuleCreateInfoNV {
VkStructureType sType;
const void* pNext;
size_t dataSize;
const void* pData;
} VkCudaModuleCreateInfoNV;
sType
is a VkStructureType value identifying this structure.pNext
may beNULL
or may be a pointer to a structure extending this structure.dataSize
is the length of thepData
array.pData
is a pointer to CUDA code
Valid Usage
VUID-VkCudaModuleCreateInfoNV-dataSize-09413
dataSize
must be the total size in bytes of the PTX files or
binary cache passed to pData
Valid Usage (Implicit)
VUID-VkCudaModuleCreateInfoNV-sType-sType
sType
must be VK_STRUCTURE_TYPE_CUDA_MODULE_CREATE_INFO_NV
VUID-VkCudaModuleCreateInfoNV-pNext-pNext
pNext
must be NULL
VUID-VkCudaModuleCreateInfoNV-pData-parameter
pData
must be a valid pointer to an array of dataSize
bytes
VUID-VkCudaModuleCreateInfoNV-dataSize-arraylength
dataSize
must be greater than 0