Pop Current Context VI

LabVIEW 2012 GPU Analysis Toolkit Help

Edition Date: June 2012

Part Number: 373575A-01

»View Product Info
Download Help (Windows Only)

Owning Palette: LVCUDA Driver API

Requires: GPU Analysis Toolkit

Sets the previous device context if one exists.


CUDA Context in specifies the device context to deactivate, or pop.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
CUDA Context out returns the deactivated device context.
CUcontext returns the previous, active CUDA context handle.
Is Primary? returns TRUE if the Initialize Device VI creates the context passed to CUcontext.
error out contains error information. This output provides standard error out functionality.

Pop Current Context Details

This VI is equivalent to the Synchronize Context VI when the CUDA Context in input references a primary context created by the Initialize Device VI.

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.


Not Helpful