CUDA and OpenGL Interoperability

OpenGL is commonly used for realtime visualization, and like CUDA, is executed on the GPU. This provides an opportunity for efficient sharing of resources between CUDA and OpenGL.

The OpenGL and Segmentation Visualizer extensions use the OpenGL interoperability functions provided by the CUDA runtime API. This API is documented further in the CUDA Toolkit Documentation.

This concept can be extended to other rendering frameworks such as Vulkan.

© Copyright 2022, NVIDIA. Last updated on Jun 28, 2023.