From c06aa7ff36422bafb6556c3518cc2ec8748f377d Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 7 Dec 2022 09:56:36 +0000 Subject: [PATCH] README: update toolchain docs to match what we actually use --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9206f86..af9b863 100644 --- a/README.md +++ b/README.md @@ -75,16 +75,15 @@ which can easily be 30-100x faster: ## GPU Acceleration -we use rust-gpu for gpu acceleration. presently, this requires *specific* versions of rust-nightly to work. +we use [rust-gpu]((https://github.com/EmbarkStudios/rust-gpu/)) for gpu acceleration. +presently, this requires *specific* versions of rust-nightly to work. the feature is toggled at runtime, but compiled unconditionally. set up the toolchain according to [rust-toolchain.toml](rust-toolchain.toml): ``` -$ rustup default nightly-2022-04-11 +$ rustup default nightly-2022-08-29 $ rustup component add rust-src rustc-dev llvm-tools-preview ``` -(it's possible to work with older nightlies like `nightly-2022-01-13` or `nightly-2021-06-08` if you enable the 2020 feature and downgrade whichever packages rustc complains about.) - now you can swap out the `CpuDriver` with a `SpirvDriver` and you're set: ```diff - let mut driver = Driver::new(SpirvSim::::new(size, feature_size));