LabVIEW GPU Analysis Toolkit API Reference

Destroy Context VI

  • Updated2023-02-21
  • 2 minute(s) read

Destroy Context VI

Owning Palette: LVCUDA Driver API

Requires: GPU Analysis Toolkit

Closes the device context. This VI halts all computations in the context and frees any resources allocated to the context.

Details  

CUDA Context specifies the device context to close.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out contains error information. This output provides standard error out functionality.

Destroy Context Details

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.