python3 ./download_net.py
Downloading net challah to ./nets/wakwak.nnue
cargo rustc --release --features tune -- --emit link=WakWak-11F84B73
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling libc v0.2.189
Compiling zerocopy v0.8.56
Compiling syn v3.0.5
Compiling thiserror v2.0.20
Compiling wakwak v0.16.0 (/tmp/tmpjm77lz0b/WakWak/WakWak-tmp)
Compiling atomic-wait v1.1.0
Compiling enum-map-derive v1.0.1
Compiling thiserror-impl v2.0.20
Compiling enum-map v3.1.0
Compiling arrayvec v0.7.8
Compiling colored v3.1.1
error: Unsupported platform! Only AVX2 or newer (on x86) and Neon (on ARM) are supported
--> src/nnue/mod.rs:32:9
|
32 | / compile_error!(
33 | | "Unsupported platform! Only AVX2 or newer (on x86) and Neon (on ARM) are supported"
34 | | );
| |_________^
error[E0425]: cannot find value `LANES` in this scope
--> src/nnue/inference.rs:89:54
|
89 | let bias = load(NET.l1b.as_ptr().add(i * LANES));
| ^^^^^ not found in this scope
error[E0425]: cannot find function `min` in this scope
--> src/nnue/inference.rs:97:27
|
97 | let clipped = min(max(shifted, splat(0)), splat(Q * Q));
| ^^^ not found in this scope
|
help: consider importing this function
|
3 + use std::cmp::min;
|
error[E0425]: cannot find function `max` in this scope
--> src/nnue/inference.rs:97:31
|
97 | let clipped = min(max(shifted, splat(0)), splat(Q * Q));
| ^^^ not found in this scope
|
help: consider importing this function
|
3 + use std::cmp::max;
|
error[E0425]: cannot find function `min` in this scope
--> src/nnue/inference.rs:98:43
|
98 | let squared = shr_const::<12>(min(mul(shifted, shifted), splat(Q.pow(4))));
| ^^^ not found in this scope
|
help: consider importing this function
|
3 + use std::cmp::min;
|
error[E0425]: cannot find value `LANES` in this scope
--> src/nnue/inference.rs:99:44
|
99 | store(out.as_mut_ptr().add(i * LANES), clipped);
| ^^^^^ not found in this scope
error[E0425]: cannot find value `LANES` in this scope
--> src/nnue/inference.rs:100:44
|
100 | store(out.as_mut_ptr().add(i * LANES + L2), squared);
| ^^^^^ not found in this scope
error[E0425]: cannot find value `LANES` in this scope
--> src/nnue/inference.rs:109:37
|
109 | let mut sums: [I32Vec; L3 / LANES] =
| ^^^^^ not found in this scope
error[E0425]: cannot find value `LANES` in this scope
--> src/nnue/inference.rs:110:67
|
110 | std::array::from_fn(|i| load(NET.l2b.as_ptr().add(i * LANES)));
| ^^^^^ not found in this scope
error[E0425]: cannot find value `LANES` in this scope
--> src/nnue/inference.rs:114:30
|
114 | for j in 0..L3 / LANES {
| ^^^^^ not found in this scope
error[E0425]: cannot find value `LANES` in this scope
--> src/nnue/inference.rs:115:58
|
115 | let l = load(NET.l2w[i].as_ptr().add(j * LANES));
| ^^^^^ not found in this scope
error[E0425]: cannot find function `min` in this scope
--> src/nnue/inference.rs:122:27
|
122 | let clamped = min(max(*sum, splat(0)), splat(Q.pow(3)));
| ^^^ not found in this scope
|
help: consider importing this function
|
3 + use std::cmp::min;
|
error[E0425]: cannot find function `max` in this scope
--> src/nnue/inference.rs:122:31
|
122 | let clamped = min(max(*sum, splat(0)), splat(Q.pow(3)));
| ^^^ not found in this scope
|
help: consider importing this function
|
3 + use std::cmp::max;
|
error[E0425]: cannot find value `LANES` in this scope
--> src/nnue/inference.rs:123:44
|
123 | store(out.as_mut_ptr().add(i * LANES), clamped);
| ^^^^^ not found in this scope
error[E0425]: cannot find value `LANES` in this scope
--> src/nnue/inference.rs:134:34
|
134 | for i in (0..L3).step_by(LANES) {
| ^^^^^ not found in this scope
error[E0425]: cannot find function `load` in this scope
--> src/nnue/inference.rs:89:24
|
89 | let bias = load(NET.l1b.as_ptr().add(i * LANES));
| ^^^^ not found in this scope
error[E0425]: cannot find function `splat` in this scope
--> src/nnue/inference.rs:91:27
|
91 | let mut sum = splat(0);
| ^^^^^ not found in this scope
error[E0425]: cannot find function `add` in this scope
--> src/nnue/inference.rs:93:23
|
93 | sum = add(sum, partial_sum);
| ^^^ not found in this scope
error[E0425]: cannot find function `add` in this scope
--> src/nnue/inference.rs:96:42
|
96 | let shifted = shr_const::<2>(add(bias, sum));
| ^^^ not found in this scope
error[E0425]: cannot find function `shr_const` in this scope
--> src/nnue/inference.rs:96:27
|
96 | let shifted = shr_const::<2>(add(bias, sum));
| ^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `splat` in this scope
--> src/nnue/inference.rs:97:44
|
97 | let clipped = min(max(shifted, splat(0)), splat(Q * Q));
| ^^^^^ not found in this scope
error[E0425]: cannot find function `splat` in this scope
--> src/nnue/inference.rs:97:55
|
97 | let clipped = min(max(shifted, splat(0)), splat(Q * Q));
| ^^^^^ not found in this scope
error[E0425]: cannot find function `mul` in this scope
--> src/nnue/inference.rs:98:47
|
98 | let squared = shr_const::<12>(min(mul(shifted, shifted), splat(Q.pow(4))));
| ^^^ not found in this scope
error[E0425]: cannot find function `splat` in this scope
--> src/nnue/inference.rs:98:70
|
98 | let squared = shr_const::<12>(min(mul(shifted, shifted), splat(Q.pow(4))));
| ^^^^^ not found in this scope
error[E0425]: cannot find function `shr_const` in this scope
--> src/nnue/inference.rs:98:27
|
98 | let squared = shr_const::<12>(min(mul(shifted, shifted), splat(Q.pow(4))));
| ^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `store` in this scope
--> src/nnue/inference.rs:99:13
|
99 | store(out.as_mut_ptr().add(i * LANES), clipped);
| ^^^^^ not found in this scope
error[E0425]: cannot find function `store` in this scope
--> src/nnue/inference.rs:100:13
|
100 | store(out.as_mut_ptr().add(i * LANES + L2), squared);
| ^^^^^ not found in this scope
error[E0425]: cannot find function `load` in this scope
--> src/nnue/inference.rs:110:37
|
110 | std::array::from_fn(|i| load(NET.l2b.as_ptr().add(i * LANES)));
| ^^^^ not found in this scope
error[E0425]: cannot find function `splat` in this scope
--> src/nnue/inference.rs:113:21
|
113 | let r = splat(act_l1[i]);
| ^^^^^ not found in this scope
error[E0425]: cannot find function `load` in this scope
--> src/nnue/inference.rs:115:25
|
115 | let l = load(NET.l2w[i].as_ptr().add(j * LANES));
| ^^^^ not found in this scope
error[E0425]: cannot find function `mul` in this scope
--> src/nnue/inference.rs:116:40
|
116 | sums[j] = add(sums[j], mul(l, r));
| ^^^ not found in this scope
error[E0425]: cannot find function `add` in this scope
--> src/nnue/inference.rs:116:27
|
116 | sums[j] = add(sums[j], mul(l, r));
| ^^^ not found in this scope
error[E0425]: cannot find function `splat` in this scope
--> src/nnue/inference.rs:122:41
|
122 | let clamped = min(max(*sum, splat(0)), splat(Q.pow(3)));
| ^^^^^ not found in this scope
error[E0425]: cannot find function `splat` in this scope
--> src/nnue/inference.rs:122:52
|
122 | let clamped = min(max(*sum, splat(0)), splat(Q.pow(3)));
| ^^^^^ not found in this scope
error[E0425]: cannot find function `store` in this scope
--> src/nnue/inference.rs:123:13
|
123 | store(out.as_mut_ptr().add(i * LANES), clamped);
| ^^^^^ not found in this scope
error[E0425]: cannot find function `splat` in this scope
--> src/nnue/inference.rs:133:23
|
133 | let mut sum = splat(0);
| ^^^^^ not found in this scope
error[E0425]: cannot find function `load` in this scope
--> src/nnue/inference.rs:135:21
|
135 | let l = load(act_l2.as_ptr().add(i));
| ^^^^ not found in this scope
error[E0425]: cannot find function `load` in this scope
--> src/nnue/inference.rs:136:21
|
136 | let r = load(NET.l3w.as_ptr().add(i));
| ^^^^ not found in this scope
error[E0425]: cannot find function `mul` in this scope
--> src/nnue/inference.rs:137:28
|
137 | sum = add(sum, mul(l, r));
| ^^^ not found in this scope
error[E0425]: cannot find function `add` in this scope
--> src/nnue/inference.rs:137:19
|
137 | sum = add(sum, mul(l, r));
| ^^^ not found in this scope
error[E0425]: cannot find function `reduce_add` in this scope
--> src/nnue/inference.rs:140:9
|
140 | reduce_add(sum) + NET.l3b
| ^^^^^^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0425`.
error: could not compile `wakwak` (bin "wakwak") due to 41 previous errors
make: *** [Makefile:14: native] Error 101