aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 9018a4c2..e8d9e1d0 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -127,6 +127,18 @@ meson build -Dhdf5=disabled
```
When building with CMake, HDF5 is a mandatory dependency.
+Using OpenCL for GPU acceleration
+---------------------------------
+
+OpenCL is disabled by default when building with Meson, to keep things simple
+for the majority of people who don't need it. To enable it, add
+`-Dopencl=enabled` to the `meson` command line:
+```
+meson build -Dopencl=enabled
+```
+When building with CMake, OpenCL will always be used if the libraries are
+found.
+
Fedora 22 or later
------------------