Blyx v0.1.0-alpha is here! Read the release notes ->

Chapter 13 • Blyx Unique Feature

GPU Compute Blocks

Inline gpu {} blocks lower directly to SPIR-V and NVPTX GPU assembly without external C++ CUDA host wrappers.

gpu {
    let tid = thread_id();
    data[tid] = data[tid] * 2.0;
};
← Previous
Tensors & AI
Next →
Async & Await