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

LVCUDA Driver API

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 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 ObjectDescription
Create ContextGenerates a device context, or special execution environment, in which to perform operations on the device.
Destroy ContextCloses the device context. This VI halts all computations in the context and frees any resources allocated to the context.
Get CUDA Driver API VersionReturns 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 VersionReturns the version information for the device context.
Get Current ContextRetrieves the current, active device context.
Initialize LibraryPrepares a CUDA driver API to call from LabVIEW.
Pop Current ContextSets the previous device context if one exists.
Push Current ContextSets the current, active device context.
Set Current ContextAssigns the current, active device context that replaces the previous, active context.
Synchronize ContextWaits for all operations running in the device context to finish. If any operation fails during synchronization, this VI returns an error.

 

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