diff options
author | Thomas White <taw@physics.org> | 2022-04-01 12:08:07 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-04-01 12:08:07 +0200 |
commit | 5c31874f20a37c2ac8d4c27d982c0783db990105 (patch) | |
tree | adad382e5213ab84aff7a9068675bf2e8ffce503 /INSTALL.md | |
parent | 17163c01fa6864dd2ea48275cadfe3ada436a24b (diff) |
Meson: Disable OpenCL by default, and update documentation
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 ------------------ |