A static for loop in C++
You have `if constexpr`, but you want `for constexpr`
Lawrence Murray: software, research, photography.
You have `if constexpr`, but you want `for constexpr`
Doxide can now produce line data on function templates, even when not instantiated, to mix with execution data for more accurate test coverage reports. This is especially useful when testing header-only libraries.
How to limit clock speed and memory speed for more consistent results when benchmarking and profiling CUDA kernels.
Tips and tricks to help the compiler optimize
Breaking down large matrix multiplications into tiles
It works on my laptop
Essential functions for categorical distributions and attention mechanisms in machine learning
How to check if a template type matches a pattern? Something like `is_like_v>`.
How to overload the three-way comparison (spaceship) `operator`, and a reminder to overload `operator==` as well.
How to implement an `is_instance_of` type trait.