LVCUDA Driver API
- Updated2023-02-21
- 1 minute(s) read
Owning Palette: LVCUDA
Requires: GPU Analysis Toolkit. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the LVCUDA Driver API VIs with the LVCUDA SDK VIs to build wrappers for custom GPU VIs.
For more information about how to use the LVCUDA SDK and LVGPU SDK VIs, refer to the KnowledgeBase article Customizing GPU Computing Using the GPU Analysis Toolkit at ni.com.
The VIs on this palette can return general LabVIEW error codes and GPU Analysis error codes.
Palette Object | Description |
---|---|
Create Context | Generates a device context, or special execution environment, in which to perform operations on the device. |
Destroy Context | Closes the device context. This VI halts all computations in the context and frees any resources allocated to the context. |
Get CUDA Driver API Version | Returns the version information for the CUDA driver API. The active NVIDIA display driver for the host operating system determines the CUDA Driver version. |
Get CUDA Runtime API Version | Returns the version information for the device context. |
Get Current Context | Retrieves the current, active device context. |
Initialize Library | Prepares a CUDA driver API to call from LabVIEW. |
Pop Current Context | Sets the previous device context if one exists. |
Push Current Context | Sets the current, active device context. |
Set Current Context | Assigns the current, active device context that replaces the previous, active context. |
Synchronize Context | Waits for all operations running in the device context to finish. If any operation fails during synchronization, this VI returns an error. |