From 0dfaffc9f7c913c03a590c0f09177b4efbec1d91 Mon Sep 17 00:00:00 2001 From: John Guibas Date: Sun, 6 Oct 2024 17:16:42 -0700 Subject: [PATCH] fix: missing cpu acceleration for sp1 --- sp1/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sp1/README.md b/sp1/README.md index 3d6c26f..34765f6 100644 --- a/sp1/README.md +++ b/sp1/README.md @@ -9,5 +9,7 @@ To generate a proof, run the following commands: ```sh cd simple_arithmetic_test cd script -cargo run --release -- --prove +RUSTFLAGS='-C target-cpu=native' cargo run --release -- --prove ``` + +If you are on a CPU with AVX512 support, you can use the following flags for more performance: RUSTFLAGS='-C target-cpu=native -C target_feature=+avx512ifma,+avx512vl'. \ No newline at end of file