|Download Help (Windows Only)|
Owning Palette: LVCUDA Driver API
Requires: GPU Analysis Toolkit
Sets the current, active device context.
If you call the Pop Current Context VI after calling this VI, the previous, active context becomes the current context.
|Note You must call the Push Current Context VI from another VI that has subroutine priority set from the Execution page of VI Properties dialog box.|
|CUDA Context in specifies the device context to push.|
|error in describes error conditions that occur before this node runs. This input provides standard error in functionality.|
|CUDA Context out returns the current, active 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.|
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.