THE OPEN NOTEBOOK · v1.7.3
A book for the curious.
112 chapters inside the Welvet AI engine, including NativeCPU, Qualcomm Hexagon HTP, Apple Metal, Apple MLX, NVIDIA CUDA, AMD ROCm, Vulkan, and Python C-ABI. Start with why it exists, then follow the ideas into layers, learning, and the systems that connect them.
welvet.qnn path — see the Android QNN lab PDF and /welvet. Code examples and reported results below are preserved from the source edition. Read the complete book on one page →3 entries · Clear filters
XI · Hexagon NPU (welvet.qnn)
QNN: opt-in Hexagon HTP (welvet.qnn)
Qualcomm Hexagon HTP is a sibling engine (welvet.qnn 1.0.0), not a silent fallback inside Go. Opt-in BackendQNN + explicit SyncToQNN keep CPU/SIMD/WebGPU as defaults. Caps reject unsupported
Read moreXI · Hexagon NPU (welvet.qnn)
QNN: HTP layer tour (session ABI)
w2a go_v_qnn exercises every shipped HTP forward. Book examples use the same session ABI with tiny shapes so a Snapdragon box can smoke-test without the full matrix.
Read moreXI · Hexagon NPU (welvet.qnn)
QNN: go_v_qnn RESULTS (large shapes)
Toy shapes lie. The w2a large matrix (dense 32×512×512, softmax 64×4096, …) is the honest Snapdragon X story: NPU DLL graphExecute vs Go/native f32 CPU, plus Go→NPU call overhead (cgo + pack
Read more