Top Description Fields Constructors Methods
org.lwjgl.vulkan

public Class NVXBinaryImport

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

This extension allows applications to import CuBIN binaries and execute them.
Note

There is currently no specification language written for this extension. The links to APIs defined by the extension are to stubs that only include generated content such as API declarations and implicit valid usage statements.

Stub API References

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


VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCuFunctionNVX)

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


VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCuModuleNVX)

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.


VkResult vkCreateCuFunctionNVX(
    VkDevice                                    device,
    const VkCuFunctionCreateInfoNVX*            pCreateInfo,
    const VkAllocationCallbacks*                pAllocator,
    VkCuFunctionNVX*                            pFunction);
Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns

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


typedef struct VkCuFunctionCreateInfoNVX {
    VkStructureType    sType;
    const void*        pNext;
    VkCuModuleNVX      module;
    const char*        pName;
} VkCuFunctionCreateInfoNVX;
Valid Usage (Implicit)

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.


void vkDestroyCuFunctionNVX(
    VkDevice                                    device,
    VkCuFunctionNVX                             function,
    const VkAllocationCallbacks*                pAllocator);
Valid Usage (Implicit)

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.


VkResult vkCreateCuModuleNVX(
    VkDevice                                    device,
    const VkCuModuleCreateInfoNVX*              pCreateInfo,
    const VkAllocationCallbacks*                pAllocator,
    VkCuModuleNVX*                              pModule);
Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns

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


typedef struct VkCuModuleCreateInfoNVX {
    VkStructureType    sType;
    const void*        pNext;
    size_t             dataSize;
    const void*        pData;
} VkCuModuleCreateInfoNVX;
Valid Usage (Implicit)

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.


void vkDestroyCuModuleNVX(
    VkDevice                                    device,
    VkCuModuleNVX                               module,
    const VkAllocationCallbacks*                pAllocator);
Valid Usage (Implicit)

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.


void vkCmdCuLaunchKernelNVX(
    VkCommandBuffer                             commandBuffer,
    const VkCuLaunchInfoNVX*                    pLaunchInfo);
Valid Usage (Implicit)
Host Synchronization
Command Properties
Command Buffer LevelsRender Pass ScopeVideo Coding ScopeSupported Queue TypesCommand Type
Primary SecondaryBothOutsideGraphics ComputeAction

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


typedef struct VkCuLaunchInfoNVX {
    VkStructureType        sType;
    const void*            pNext;
    VkCuFunctionNVX        function;
    uint32_t               gridDimX;
    uint32_t               gridDimY;
    uint32_t               gridDimZ;
    uint32_t               blockDimX;
    uint32_t               blockDimY;
    uint32_t               blockDimZ;
    uint32_t               sharedMemBytes;
    size_t                 paramCount;
    const void* const *    pParams;
    size_t                 extraCount;
    const void* const *    pExtras;
} VkCuLaunchInfoNVX;
Valid Usage (Implicit)
VK_NVX_binary_import
Name String
VK_NVX_binary_import
Extension Type
Device extension
Registered Extension Number
30
Revision
1
Contact
Other Extension Metadata
Last Modified Date
2021-04-09
Contributors
  • Eric Werness, NVIDIA
  • Liam Middlebrook, NVIDIA

Field Summary

Modifier and TypeField and Description
public static final int
VK_DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT

Extends VkDebugReportObjectTypeEXT.

public static final int
VK_DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT

Extends VkDebugReportObjectTypeEXT.

public static final String
public static final int
VK_NVX_BINARY_IMPORT_SPEC_VERSION

The extension specification version.

public static final int
VK_OBJECT_TYPE_CU_FUNCTION_NVX

Extends VkObjectType.

public static final int
VK_OBJECT_TYPE_CU_MODULE_NVX

Extends VkObjectType.

public static final int
public static final int
VK_STRUCTURE_TYPE_CU_LAUNCH_INFO_NVX

Extends VkStructureType.

public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
nvkCmdCuLaunchKernelNVX(VkCommandBuffer commandBuffer, long pLaunchInfo)

Unsafe version of: CmdCuLaunchKernelNVX

public static int
nvkCreateCuFunctionNVX(VkDevice device, long pCreateInfo, long pAllocator, long pFunction)

Unsafe version of: CreateCuFunctionNVX

public static int
nvkCreateCuModuleNVX(VkDevice device, long pCreateInfo, long pAllocator, long pModule)

Unsafe version of: CreateCuModuleNVX

public static void
nvkDestroyCuFunctionNVX(VkDevice device, long function, long pAllocator)

Unsafe version of: DestroyCuFunctionNVX

public static void
nvkDestroyCuModuleNVX(VkDevice device, long module, long pAllocator)

Unsafe version of: DestroyCuModuleNVX

public static void
vkCmdCuLaunchKernelNVX(VkCommandBuffer commandBuffer, VkCuLaunchInfoNVX pLaunchInfo)

Stub description of vkCmdCuLaunchKernelNVX.

public static int
vkCreateCuFunctionNVX(VkDevice device, VkCuFunctionCreateInfoNVX pCreateInfo, VkAllocationCallbacks pAllocator, LongBuffer pFunction)

Stub description of vkCreateCuFunctionNVX.

public static int
vkCreateCuFunctionNVX(VkDevice device, VkCuFunctionCreateInfoNVX pCreateInfo, VkAllocationCallbacks pAllocator, long[] pFunction)

Array version of: CreateCuFunctionNVX

public static int
vkCreateCuModuleNVX(VkDevice device, VkCuModuleCreateInfoNVX pCreateInfo, VkAllocationCallbacks pAllocator, LongBuffer pModule)

Stub description of vkCreateCuModuleNVX.

public static int
vkCreateCuModuleNVX(VkDevice device, VkCuModuleCreateInfoNVX pCreateInfo, VkAllocationCallbacks pAllocator, long[] pModule)

Array version of: CreateCuModuleNVX

public static void
vkDestroyCuFunctionNVX(VkDevice device, long function, VkAllocationCallbacks pAllocator)

Stub description of vkDestroyCuFunctionNVX.

public static void
vkDestroyCuModuleNVX(VkDevice device, long module, VkAllocationCallbacks pAllocator)

Stub description of vkDestroyCuModuleNVX.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXTback to summary
public static final int VK_DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT

Extends VkDebugReportObjectTypeEXT.

Enum values:
VK_DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXTback to summary
public static final int VK_DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT

Extends VkDebugReportObjectTypeEXT.

Enum values:
VK_NVX_BINARY_IMPORT_EXTENSION_NAMEback to summary
public static final String VK_NVX_BINARY_IMPORT_EXTENSION_NAME

The extension name.

VK_NVX_BINARY_IMPORT_SPEC_VERSIONback to summary
public static final int VK_NVX_BINARY_IMPORT_SPEC_VERSION

The extension specification version.

VK_OBJECT_TYPE_CU_FUNCTION_NVXback to summary
public static final int VK_OBJECT_TYPE_CU_FUNCTION_NVX

Extends VkObjectType.

Enum values:
VK_OBJECT_TYPE_CU_MODULE_NVXback to summary
public static final int VK_OBJECT_TYPE_CU_MODULE_NVX

Extends VkObjectType.

Enum values:
VK_STRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVXback to summary
public static final int VK_STRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVX

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_CU_LAUNCH_INFO_NVXback to summary
public static final int VK_STRUCTURE_TYPE_CU_LAUNCH_INFO_NVX

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_CU_MODULE_CREATE_INFO_NVXback to summary
public static final int VK_STRUCTURE_TYPE_CU_MODULE_CREATE_INFO_NVX

Extends VkStructureType.

Enum values:

Constructor Detail

NVXBinaryImportback to summary
protected NVXBinaryImport()

Method Detail

nvkCmdCuLaunchKernelNVXback to summary
public static void nvkCmdCuLaunchKernelNVX(VkCommandBuffer commandBuffer, long pLaunchInfo)

Unsafe version of: CmdCuLaunchKernelNVX

nvkCreateCuFunctionNVXback to summary
public static int nvkCreateCuFunctionNVX(VkDevice device, long pCreateInfo, long pAllocator, long pFunction)

Unsafe version of: CreateCuFunctionNVX

nvkCreateCuModuleNVXback to summary
public static int nvkCreateCuModuleNVX(VkDevice device, long pCreateInfo, long pAllocator, long pModule)

Unsafe version of: CreateCuModuleNVX

nvkDestroyCuFunctionNVXback to summary
public static void nvkDestroyCuFunctionNVX(VkDevice device, long function, long pAllocator)

Unsafe version of: DestroyCuFunctionNVX

nvkDestroyCuModuleNVXback to summary
public static void nvkDestroyCuModuleNVX(VkDevice device, long module, long pAllocator)

Unsafe version of: DestroyCuModuleNVX

vkCmdCuLaunchKernelNVXback to summary
public static void vkCmdCuLaunchKernelNVX(VkCommandBuffer commandBuffer, VkCuLaunchInfoNVX pLaunchInfo)

Stub description of vkCmdCuLaunchKernelNVX.

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.


void vkCmdCuLaunchKernelNVX(
    VkCommandBuffer                             commandBuffer,
    const VkCuLaunchInfoNVX*                    pLaunchInfo);
Valid Usage (Implicit)
  • commandBuffer must be a valid VkCommandBuffer handle
  • pLaunchInfo must be a valid pointer to a valid VkCuLaunchInfoNVX structure
  • commandBuffer must be in the recording state
  • The VkCommandPool that commandBuffer was allocated from must support graphics, or compute operations
  • This command must only be called outside of a video coding scope
Host Synchronization
  • Host access to the VkCommandPool that commandBuffer was allocated from must be externally synchronized
Command Properties
Command Buffer LevelsRender Pass ScopeVideo Coding ScopeSupported Queue TypesCommand Type
Primary SecondaryBothOutsideGraphics ComputeAction
See Also

VkCuLaunchInfoNVX

vkCreateCuFunctionNVXback to summary
public static int vkCreateCuFunctionNVX(VkDevice device, VkCuFunctionCreateInfoNVX pCreateInfo, VkAllocationCallbacks pAllocator, LongBuffer pFunction)

Stub description of vkCreateCuFunctionNVX.

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.


VkResult vkCreateCuFunctionNVX(
    VkDevice                                    device,
    const VkCuFunctionCreateInfoNVX*            pCreateInfo,
    const VkAllocationCallbacks*                pAllocator,
    VkCuFunctionNVX*                            pFunction);
Valid Usage (Implicit)
  • device must be a valid VkDevice handle
  • pCreateInfo must be a valid pointer to a valid VkCuFunctionCreateInfoNVX structure
  • If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
  • pFunction must be a valid pointer to a VkCuFunctionNVX handle
Return Codes
On success, this command returns
On failure, this command returns
See Also

VkAllocationCallbacks, VkCuFunctionCreateInfoNVX

Annotations
@NativeType:VkResult
vkCreateCuFunctionNVXback to summary
public static int vkCreateCuFunctionNVX(VkDevice device, VkCuFunctionCreateInfoNVX pCreateInfo, VkAllocationCallbacks pAllocator, long[] pFunction)

Array version of: CreateCuFunctionNVX

Annotations
@NativeType:VkResult
vkCreateCuModuleNVXback to summary
public static int vkCreateCuModuleNVX(VkDevice device, VkCuModuleCreateInfoNVX pCreateInfo, VkAllocationCallbacks pAllocator, LongBuffer pModule)

Stub description of vkCreateCuModuleNVX.

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.


VkResult vkCreateCuModuleNVX(
    VkDevice                                    device,
    const VkCuModuleCreateInfoNVX*              pCreateInfo,
    const VkAllocationCallbacks*                pAllocator,
    VkCuModuleNVX*                              pModule);
Valid Usage (Implicit)
  • device must be a valid VkDevice handle
  • pCreateInfo must be a valid pointer to a valid VkCuModuleCreateInfoNVX structure
  • If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
  • pModule must be a valid pointer to a VkCuModuleNVX handle
Return Codes
On success, this command returns
On failure, this command returns
See Also

VkAllocationCallbacks, VkCuModuleCreateInfoNVX

Annotations
@NativeType:VkResult
vkCreateCuModuleNVXback to summary
public static int vkCreateCuModuleNVX(VkDevice device, VkCuModuleCreateInfoNVX pCreateInfo, VkAllocationCallbacks pAllocator, long[] pModule)

Array version of: CreateCuModuleNVX

Annotations
@NativeType:VkResult
vkDestroyCuFunctionNVXback to summary
public static void vkDestroyCuFunctionNVX(VkDevice device, long function, VkAllocationCallbacks pAllocator)

Stub description of vkDestroyCuFunctionNVX.

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.


void vkDestroyCuFunctionNVX(
    VkDevice                                    device,
    VkCuFunctionNVX                             function,
    const VkAllocationCallbacks*                pAllocator);
Valid Usage (Implicit)
  • device must be a valid VkDevice handle
  • function must be a valid VkCuFunctionNVX handle
  • If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
  • function must have been created, allocated, or retrieved from device
See Also

VkAllocationCallbacks

vkDestroyCuModuleNVXback to summary
public static void vkDestroyCuModuleNVX(VkDevice device, long module, VkAllocationCallbacks pAllocator)

Stub description of vkDestroyCuModuleNVX.

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.


void vkDestroyCuModuleNVX(
    VkDevice                                    device,
    VkCuModuleNVX                               module,
    const VkAllocationCallbacks*                pAllocator);
Valid Usage (Implicit)
  • device must be a valid VkDevice handle
  • module must be a valid VkCuModuleNVX handle
  • If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
  • module must have been created, allocated, or retrieved from device
See Also

VkAllocationCallbacks