- https://rustup.rs/
- (Optional to use CUDA): https://developer.nvidia.com/cuda-toolkit
cargo run -r
- With cuda:
cargo run -r --features cuda
The prebuilt .ptx is included in the repo, but if you want to rebuild it, you can use the following command:
nvcc -ptx src/day5_kernel.cu && mv day5_kernel.ptx src/