Chapter 13 • Blyx Unique Feature
Inline gpu {} blocks lower directly to SPIR-V and NVPTX GPU assembly without external C++ CUDA host wrappers.
gpu {}
gpu { let tid = thread_id(); data[tid] = data[tid] * 2.0; };