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: cpu.md
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,22 +6,24 @@ layout: default
6
6
redirect_from: "/cpu"
7
7
---
8
8
9
+
# ND4J - CPU (nd4j-native) AVX Configuration
9
10
10
11
### What is AVX, and why does it matter?
11
12
12
-
AVX (Advanced Vector Extensions) is a set of CPU instructions for accelerating numerical computations.
13
-
AVX only applies to nd4j-native (CPU) backend for x86 devices, not GPUs and not ARM/PPC devices.
13
+
AVX (Advanced Vector Extensions) is a set of CPU instructions for accelerating numerical computations. See [Wikipedia](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions) for more details.
14
14
15
-
Why AVX matters: performance.
15
+
Note that AVX only applies to nd4j-native (CPU) backend for x86 devices, not GPUs and not ARM/PPC devices.
16
16
17
-
You want to use the highest level of AVX supported by your system.
17
+
Why AVX matters: performance. You want to use the version of ND4J compiled with the highest level of AVX supported by your system.
18
18
19
-
AVX support - summary:
19
+
20
+
AVX support for different CPUs - summary:
20
21
* Most modern x86 CPUs: AVX2 is supported
21
22
* Some high-end server CPUs: AVX512 may be supported
22
23
* Old CPUs (pre 2012) and low power x86 (Atom, Celeron): No AVX support (usually)
23
24
24
-
AVX is backward compatible, so it's possible run a generic x86 or AVX2 binary on a system supporting AVX512.
25
+
AVX is backward compatible, so for example it's possible run a generic x86 or AVX2 binary on a system supporting AVX512.
26
+
However it is not possible to run
25
27
26
28
Note on current snapshots (and in future releases, after 1.0.0-beta5) you may get a warning as follows, if AVX is not configured optimally:
0 commit comments