Synchronize Context VI
- Updated2023-02-21
- 2 minute(s) read
Synchronize Context VI
Owning Palette: LVCUDA Driver API
Requires: GPU Analysis Toolkit
Waits for all operations running in the device context to finish. If any operation fails during synchronization, this VI returns an error.
This VI provides the underlying call for the Synchronize Device VI on the LVCUDA palette.
![]() |
CUDA Context in specifies the device context to synchronize. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUDA Context out returns the synchronized device context. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Synchronize 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.