LVCUDA SDK
- Updated2023-02-21
- 2 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 SDK 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 Data | Generates a class that stores and manages device property data, including a device memory resource and a device context. This VI also can generate a class to manage other data associated with the device, such as the execution of functions from the CUFFT library and the CUBLAS library on the device. |
| Destroy Data | Closes the class that stores and manages device data, as well as the underlying device data. When the device data controls execution or resources, this VI may halt certain functions or free resources. Wire data to the CUDA U8 Device Ptr input to determine the polymorphic instance to use. You can wire a CUDA device pointer, CUDA context, CUFFT handle, or CUBLAS handle to this VI. |
| Get Data Properties | Retrieves the raw device data and properties in the device data class. Wire data to the CUDA U8 Device Ptr in input to determine the polymorphic instance to use. You can wire a CUDA device pointer, CUDA context, CUFFT handle, or CUBLAS handle to this VI. |
| Prepare Data For Lock | Begins the process of locking device data. |
| Prepare Data For Unlock | Begins the process of unlocking device data. Use this VI as the last step in protecting the device data from modification or deletion while in use. Wire data to the CUDA U8 Device Ptr in input to determine the polymorphic instance to use. You can wire a CUDA device pointer, CUDA context, CUFFT handle, or CUBLAS handle to this VI. |
| Read Data | Retrieves the member data from a device data class. Wire data to the CUDA U8 Device Ptr in input to determine the polymorphic instance to use. You can wire a CUDA device pointer, CUDA context, CUFFT handle, or CUBLAS handle to this VI. |
| Set Data Properties | Assigns the device data and properties in the device data class. Wire data to the CUDA U8 Device Ptr in input to determine the polymorphic instance to use. You can wire a CUDA device pointer, CUDA context, CUFFT handle, or CUBLAS handle to this VI. |
| Write Data | Assigns the member data to a device data class. Wire data to the CUDA U8 Device Ptr in input to determine the polymorphic instance to use. You can wire a CUDA device pointer, CUDA context, CUFFT handle, or CUBLAS handle to this VI. |