aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-04-01 12:08:07 +0200
committerThomas White <taw@physics.org>2022-04-01 12:08:07 +0200
commit5c31874f20a37c2ac8d4c27d982c0783db990105 (patch)
treeadad382e5213ab84aff7a9068675bf2e8ffce503 /INSTALL.md
parent17163c01fa6864dd2ea48275cadfe3ada436a24b (diff)
Meson: Disable OpenCL by default, and update documentation
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
------------------