Skip to content

GPU Solver Demo Overview

Overview for examples/06_gpu_solver_demo.py.

What It Demonstrates

  • End-to-end CPU vs GPU velocity IK benchmark flow
  • Batch scaling and effective throughput
  • Optional result plotting and error checks

Run

python3 examples/06_gpu_solver_demo.py
# GPU mode
python3 examples/06_gpu_solver_demo.py --gpu --casadi_path path/to/fn_velocity_solve.casadi