Papers
Topics
Authors
Recent
Search
2000 character limit reached

NVIDIA Holoscan SDK Overview

Updated 23 June 2026
  • Holoscan SDK is a modular software development kit that constructs real-time sensor data and AI analytics pipelines for medical and surgical applications.
  • It employs a directed acyclic data-flow graph with modular operators and rigorous latency tracking to ensure deterministic performance on heterogeneous multi-GPU platforms.
  • Optimized for clinical deployments, it uses techniques like CUDA MPS, hardware isolation, and CPU core pinning to reduce latency and improve compute efficiency.

NVIDIA Holoscan SDK is a modular software development kit for constructing, deploying, and optimizing real-time sensor data and AI analytics pipelines, with a particular emphasis on medical and surgical applications operating on edge-compute platforms. The SDK structures applications as directed acyclic data-flow graphs composed of modular “operators,” supporting heterogeneous multi-GPU deployments and rigorous tracking of end-to-end latency—critical for deterministic performance in clinical and intra-operative settings (Sinha et al., 2024, Nath et al., 2 Dec 2025).

1. Architecture and Data-Flow Programming Model

Holoscan SDK applications are constructed as single-fragment data-flow graphs executed on a host (ARM or x86), in which each “operator” encapsulates a well-defined function (e.g., video ingestion, format conversion, AI inference, visualization). At runtime, Holoscan topologically sorts the operator graph, sequencing each operator's start(), compute(), and stop() methods on a designated scheduling thread. Every message transiting the data-flow graph is timestamped at entry and exit of each operator, enabling per-message tracking of end-to-end (E2E) latency.

A representative endoscopy tool tracking pipeline is structured as:

Lmax=maxi=1..NLiL_{max} = \max_{i=1..N} L_i1

Operators interface with low-level accelerator resources: the InferenceOp wraps optimized inference runtimes (TensorRT, Torch, ONNX), instantiated on specified GPU devices and scheduled via CUDA streams, while HolovizOp handles all rendering (overlays, segmentations, GUI) via Vulkan and CUDA–Vulkan interop. Data movement is optimized through operator arguments such as Arg("device_id") and explicit graph connections. Application assembly in C++ is exemplified as:

Lmax=maxi=1..NLiL_{max} = \max_{i=1..N} L_i2 (Sinha et al., 2024)

2. Deterministic Multi-GPU Design and Resource Isolation

Concurrent execution of multiple pipelines on a shared host introduces stochasticity in E2E latency, primarily due to GPU streaming multiprocessor (SM) contention between compute-heavy (CUDA) and graphics (Vulkan) workloads. To enforce determinism, two key strategies are employed:

  • CUDA MPS Spatial Partitioning: Each Holoscan pipeline is launched as a standalone Linux process. The NVIDIA MPS server (nvidia-cuda-mps-control -d) enforces per-client SM and device-mem caps via environment variables:

Lmax=maxi=1..NLiL_{max} = \max_{i=1..N} L_i3

This stratification admits at most ⌊100%/15%⌋ concurrent workloads, guaranteeing exclusive SM partitions for each process and kernel launch (Sinha et al., 2024).

  • Hardware Isolation (Compute vs. Graphics): All compute-only operators (FormatConverterOp, InferenceOp, postprocessing) are pinned to a dedicated “compute GPU,” while all visualization with Vulkan is isolated to a separate “graphics GPU.” Peer-to-peer unified virtual addressing (UVA) is enabled for zero-copy inter-GPU transfers.
  • CPU Core Pinning (Optional): Pinning processes to dedicated CPU cores via taskset or sched_setaffinity() reduces host scheduling variance.

Such a system topology allows for strict containment of resource contention, yielding substantially improved latency determinism.

3. Latency Determinism and Performance Metrics

Latency tracking in Holoscan is performed by recording timestamps at the source and sink of each pipeline instance, defining per-message E2E latency Li=tout,itin,iL_i = t_{out, i} - t_{in, i}. Derived statistical measures include:

  • Maximum Latency: Lmax=maxi=1..NLiL_{max} = \max_{i=1..N} L_i
  • Mean Latency: Lˉ=1Ni=1NLi\bar{L} = \frac{1}{N}\sum_{i=1}^N L_i
  • Jitter Index (Standard Deviation):

σL=1N1i=1N(LiLˉ)2\sigma_L = \sqrt{\frac{1}{N-1}\sum_{i=1}^{N}\bigl(L_i-\bar L\bigr)^2}

  • Tail (95–100%): Tail95100=L100%ileL95%ileTail_{95-100} = L_{100\%ile}-L_{95\%ile}
  • Flatness (10–90%): Flatness1090=L90%ileL10%ileFlatness_{10-90} = L_{90\%ile}-L_{10\%ile}

Runtime histograms and percentiles are generated via the SDK’s dataflow tracker for online monitoring and automatic load management (Sinha et al., 2024).

4. Empirical Evaluation and Comparative Results

Empirical studies were conducted on x86 hosts with dual RTX A4000 GPUs and extended to NVIDIA IGX Orin and Thor edge hardware for surgical scene reconstruction tasks (Nath et al., 2 Dec 2025, Sinha et al., 2024). Key findings include:

Configuration Lₘₐₓ (ms) Flatness (ms) ΔLₘₐₓ vs baseline ΔFlatness
Single A4000 130.1 15.3
Single A4000 + MPS 82.3 14.1 –37% –8%
IMG (A4000+C/A4000+G) 68.7 11.3 –47% –26%
IMG + MPS 64.1 10.5 –51% –31%
IMG + MPS + CPU-Pin 62.9 10.2 –52% –33%

For five concurrent endoscopy pipelines, “IMG-MPS-Pin” configurations yield 21–30% reductions in LmaxL_{max} and 17–25% improvement in flatness relative to single-GPU baselines. Against naïve dual-GPU setups, the optimized pipeline achieves a 35% reduction in maximum latency and a 42% increase in compute GPU utilization (Sinha et al., 2024).

On IGX Orin, the G-SHARP pipeline demonstrated 65.2 FPS with 15.3 ms end-to-end latency and 0.942 SSIM, meeting clinical real-time constraints (Nath et al., 2 Dec 2025).

5. Operator Customization and Practical Deployment

Pipeline construction supports custom operator composition in Python or C++. Typical high-performance binding techniques include:

  • Pinned host buffers for low-latency H2D transfer (via cudaHostAlloc)
  • Persistent and double-buffered GPU allocations by initialization operators
  • Explicit asynchronous CUDA stream scheduling and inter-operator synchronization using events, eschewing global device synchronizations
  • HolovizOp CUDA–Vulkan interop for direct GPU display memory writes (no host staging)
  • Built-in graph watchdog for overflow/health monitoring in high-availability settings

An example in Python for a Gaussian splatting-based reconstruction pipeline:

Lmax=maxi=1..NLiL_{max} = \max_{i=1..N} L_i4 (Nath et al., 2 Dec 2025)

Optimized deployments employ GPU memory pooling, mixed-precision compute in custom CUDA kernels, and CUDA Graph capture to reduce launch overheads. For operating-room reliability, CPU supervisor threads and pipeline auto-restart on frame loss are supported.

6. Representative Use Cases: G-SHARP Surgical Scene Reconstruction

The G-SHARP application demonstrates the SDK’s capacity to host real-time, hardware-accelerated surgical scene reconstruction using differentiable Gaussian splatting. The Holoscan pipeline wraps sensor ingestion, pose preprocessing, renderer invocation (with learned deformation networks), GPU visualization (with HolovizOp), and optional disk logging in a modular graph, achieving clinical-grade throughput on edge platforms (Nath et al., 2 Dec 2025). Core mathematical kernels are implemented as:

Gi(x)=(2πΣi)12exp(12(xμi)TΣi1(xμi))G_i(x) = (2\pi |\Sigma_i|)^{-\frac{1}{2}} \exp\left(-\frac{1}{2}(x-\mu_i)^T\Sigma_i^{-1}(x-\mu_i)\right)

  • Spherical Harmonics for view-dependent color:

ci(ω)==03m=Ym(ω)wi,mc_i(\omega) = \sum_{\ell=0}^3\sum_{m=-\ell}^{\ell} Y_\ell^m(\omega)\cdot w_i^{\ell,m}

The system maintains ≥60 FPS at sub-20 ms latency on IGX Orin and Thor hardware while enabling robust occlusion and deformation modeling (Nath et al., 2 Dec 2025).

7. Best Practices and Design Insights

Empirical and structural analysis provides these validated recommendations (Sinha et al., 2024):

  • Physically isolate compute and graphics to separate GPUs whenever feasible to achieve 16–30% reduction in worst-case latency and sharpen distribution tails.
  • Use CUDA MPS with offline-profiled SM caps (typically 10–20% per app), with an additional buffer for administrative overhead, to spatially partition kernel launches.
  • Optionally pin Holoscan processes to dedicated CPU cores for determinism, which is particularly relevant for certification.
  • Leverage peer-to-peer zero-copy GPU transfers via UVA to minimize inter-GPU data movement cost under pipelined streaming.
  • Continuously monitor latency and distribution statistics (LmaxL_{max}, Lmax=maxi=1..NLiL_{max} = \max_{i=1..N} L_i0, Tail, Flatness), using Holoscan's tracker, to detect drift; implement load shedding or throttling in response to performance degradation.

These approaches support consolidation of multiple real-time AI streams (such as multi-modal endoscopy or ultrasound) on cost-efficient, deterministic edge platforms suitable for regulated medical deployments (Sinha et al., 2024, Nath et al., 2 Dec 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Holoscan SDK.