Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

LVCUDA SDK

LabVIEW 2012 GPU Analysis Toolkit Help

Edition Date: June 2012

Part Number: 373575A-01

»View Product Info
Download Help (Windows Only)

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 ObjectDescription
Create DataGenerates 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 DataCloses 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 PropertiesRetrieves 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 LockBegins the process of locking device data.
Prepare Data For UnlockBegins 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 DataRetrieves 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 PropertiesAssigns 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 DataAssigns 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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit