diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-17 17:36:16 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-17 17:36:16 +0100 |
| commit | ec9593e2ff0856d78b37df3a977a753be82bfddc (patch) | |
| tree | 684dad42207f48125db40ce0afb32046cdba1726 /doc/solvers.md | |
| parent | ac3a91f4f173e7a38c70d5cd0caf5a025642312b (diff) | |
| download | nissy-core-ec9593e2ff0856d78b37df3a977a753be82bfddc.tar.gz nissy-core-ec9593e2ff0856d78b37df3a977a753be82bfddc.zip | |
Fix alignment
Diffstat (limited to '')
| -rw-r--r-- | doc/solvers.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/solvers.md b/doc/solvers.md index a246c54..837cec6 100644 --- a/doc/solvers.md +++ b/doc/solvers.md | |||
| @@ -16,6 +16,15 @@ about how this solver works, see [h48.md](./h48.md). For benchmarks see | |||
| 16 | * Moveset: HTM (all 18 basic moves). | 16 | * Moveset: HTM (all 18 basic moves). |
| 17 | * From 115MB to 59GB (roughly 2<sup>X</sup>*56MB). | 17 | * From 115MB to 59GB (roughly 2<sup>X</sup>*56MB). |
| 18 | 18 | ||
| 19 | *Note: for better performance, the solver's data should be 64-byte | ||
| 20 | aligned. To achieve this, one can use | ||
| 21 | [`aligned_alloc(64, size)`](https://en.cppreference.com/w/c/memory/aligned_alloc) | ||
| 22 | in C11 or later, | ||
| 23 | [`_aligned_malloc(size, 64)`](https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/aligned-malloc) | ||
| 24 | on Windows platforms, or the | ||
| 25 | [aligned `new` operator](https://cppreference.com/w/cpp/memory/new/operator_new.html) | ||
| 26 | in C++17 or later.* | ||
| 27 | |||
| 19 | ## Coordinate solvers | 28 | ## Coordinate solvers |
| 20 | 29 | ||
| 21 | Various solvers to solve different substeps, commonly used for Fewest | 30 | Various solvers to solve different substeps, commonly used for Fewest |
