Commit ecc868f
docs: add hardware-acceleration section calling out AMD Ryzen / EPYC
The Cargo features table now covers both crates that ship SIMD
kernels (openvx-core for the FFI graph executor's vxAdd / vxSubtract
/ vxBox3x3 / vxGaussian3x3 / vxColorConvert callbacks, and
openvx-vision for the direct Rust-API kernels). The example build
command is updated to use the matching pair on both crates so the
FFI graph path and the Rust API path both pick up the SIMD kernels.
A new "Hardware acceleration" section calls out that rustVX is tuned
and validated on AMD Ryzen / EPYC (Zen 2+, i.e. Ryzen 3000 and newer,
plus the matching EPYC Rome / Milan / Genoa parts) — the same family
GitHub's Linux runners run on, and the silicon every benchmark number
in this README's "Benchmark & compare" job summary was measured on.
The note also documents:
* The runtime AVX2 -> SSE2 -> scalar dispatch via
is_x86_feature_detected!, in openvx-core::simd_kernels (FFI path)
and openvx-vision::x86_64_simd (Rust path).
* The recommended `RUSTFLAGS=-C target-cpu=x86-64-v3` plus matching
--features pair for a manual build, matching exactly what the CI
workflow emits when it auto-detects an AVX2 host.
* That the same fast paths run at parity on any AVX2-capable Intel
CPU (Haswell+); AMD is called out because it's the validation
silicon, not the only supported silicon.
* Fallbacks: SSE2-only x86_64 hosts pin to x86-64-v2, AArch64 hosts
take the neon path, and feature-less builds use the slice-iter
scalar path.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 392fe88 commit ecc868f
1 file changed
Lines changed: 29 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
92 | 117 | | |
93 | 118 | | |
94 | 119 | | |
| |||
0 commit comments