#gpu #kernel #rust
- GPU kernels in Rust
- Comptime
- Automatic vectorization
- Instruction and shape specialization
- Loop unrolling
| # NOTE: I manually package the Zen browser for myself. | |
| # | |
| # HACK: This does, however, mean that I will need to manually | |
| # tweak the `version` and `hash` here if I wish to update it. | |
| # This produces the package (derivation): | |
| (let version = "1.0.0-a.37"; in pkgs.appimageTools.wrapType2 { | |
| inherit version; | |
| name = "zen"; # NOTE: This will be the name of the executable in $PATH. | |
| src = pkgs.fetchurl { |
| #!/usr/bin/env python3 | |
| # let's say you have a C++ project in Nix that you want to work on with CLion so that the Nix dependencies are available | |
| # put this script in your project directory | |
| # then, in Settings -> Build, Execution, Deployment -> Toolchains set CMake to this script | |
| # if you need any extra nix-shell arguments, add them to the invocation at the bottom | |
| import os | |
| import sys | |
| import shlex |