ROCm hipDNN - a network of rocks

Graph-based deep learning on AMD GPUs: building hipDNN’s normalization engine

Modern AI frameworks think in computation graphs, so the GPU libraries underneath them need to understand graphs too. AMD asked us to help accelerate hipDNN, its new graph-based deep-learning library for ROCm. We contributed a HIP-native engine for normalization operations and cut the time its test suite spends on the CPU by moving reference implementations

Graph-based deep learning on AMD GPUs: building hipDNN’s normalization engine Read More »

OpenGL “Compute Shaders” Before Compute Shaders – Heroic Times

The times before the advent of compute shaders, twenty years ago, were heroic. GPU came out of infancy into adolescence: the pace of innovation was breathtaking. A year without new GPU architecture was unthinkable. You could see new programming languages and APIs appearing one after another, bringing us closer and closer to “real-time photorealistic rendering”

OpenGL “Compute Shaders” Before Compute Shaders – Heroic Times Read More »

When to Blame the Compiler: Tracking Down an NVCC Bug

In our line of work, performing low-level performance optimization, the compiler is less of a language abstraction and more of a tool to directly interact with. Compilers are complex machines. Correctly converting C++-like code to assembly instructions is a gigantic challenge, producing optimized instructions even more so. It is therefore no surprise that the compiler

When to Blame the Compiler: Tracking Down an NVCC Bug Read More »

The LuaJIT NYI That Silently Poisoned an Unrelated Hot Loop

If you haven’t used Lua before, it’s the go-to embedded scripting language for games like Factorio and World of Warcraft, and for applications like Neovim and OpenResty. LuaJIT, its just-in-time compiler, is widely praised for its speed, so it’s easy to assume your code is already running as fast as possible. In reality, you can

The LuaJIT NYI That Silently Poisoned an Unrelated Hot Loop Read More »

Scroll to Top