You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,11 @@ minor version bump.
13
13
14
14
## Controlling parallelism
15
15
16
-
`halo2` currently uses [rayon](https://github.com/rayon-rs/rayon) for parallel computation.
17
-
The `RAYON_NUM_THREADS` environment variable can be used to set the number of threads.
16
+
`halo2` currently uses [rayon](https://github.com/rayon-rs/rayon) for parallel computation. The `RAYON_NUM_THREADS` environment variable can be used to set the number of threads.
18
17
19
-
You can disable `rayon`by disabling the `"multicore"` feature.
20
-
Warning! Halo2 will lose access to parallelism if you disable the `"multicore"` feature.
21
-
This will significantly degrade performance.
18
+
When compiling to WASM-targets, notice that since version `1.7`, `rayon`will fallback automatically (with no need to handle features) to require `getrandom` in order to be able to work. For more info related to WASM-compilation.
19
+
20
+
See: [Rayon: Usage with WebAssembly](https://github.com/rayon-rs/rayon#usage-with-webassembly) for more
Copy file name to clipboardExpand all lines: halo2_proofs/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ minor version bump.
15
15
computation. The `RAYON_NUM_THREADS` environment variable can be used to set the number of
16
16
threads.
17
17
18
-
You can disable `rayon`by disabling the `"multicore"` feature.
19
-
Warning! Halo2 will lose access to parallelism if you disable the `"multicore"` feature.
20
-
This will significantly degrade performance.
18
+
When compiling to WASM-targets, notice that since version `1.7`, `rayon`will fallback automatically (with no need to handle features) to require `getrandom` in order to be able to work. For more info related to WASM-compilation.
19
+
20
+
See: [Rayon: Usage with WebAssembly](https://github.com/rayon-rs/rayon#usage-with-webassembly) for more
0 commit comments