Discoverairhacks.fm podcast with adam bienFrom SIMD to CUDA with TornadoVM
From SIMD to CUDA with TornadoVM

From SIMD to CUDA with TornadoVM

Update: 2025-08-16
Share

Description

An airhacks.fm conversation with Michalis Papadimitriou (@mikepapadim) about:
GPU acceleration for LLMs in Java using tornadovm,
evolution from CPU-bound SIMD optimizations to GPU memory management,
Alfonso's original Java port of llama.cpp using SIMD and Panama Vector API achieving 10 tokens per second,
TornadoVM's initial hybrid approach combining CPU vector operations with GPU matrix multiplications,
memory-bound nature of LLM inference versus compute-bound traditional workloads,
introduction of persist and consume API to keep data on GPU between operations,
reduction of host-GPU data transfers for improved performance,
comparison with native CUDA implementations and optimization strategies,
JIT compilation of kernels versus static optimization in frameworks like tensorrt,
using LLMs like Claude to optimize GPU kernels,
building MCP servers for automated kernel optimization,
European Space Agency using TornadoVM in production for simulations,
upcoming Metal backend support for Apple Silicon within 6-7 months,
planned support for additional models including Mistral and gemma,
potential for distributed inference across multiple GPUs,
comparison with python and C++ implementations achieving near-native performance,
modular architecture supporting OpenCL PTX and future hardware accelerators,
challenges of new GPU hardware vendors like tenstorrent focusing on software ecosystem,
planned quarkus and langchain4j integration demonstrations

Michalis Papadimitriou on twitter: @mikepapadim

Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

From SIMD to CUDA with TornadoVM

From SIMD to CUDA with TornadoVM

adam-bien.com