From 9282aa52a9075fe95f2c0a753d60a8e633a233f1 Mon Sep 17 00:00:00 2001
From: zachjweiner <zachjweiner@gmail.com>
Date: Tue, 17 Nov 2020 08:02:11 -0600
Subject: [PATCH] note CONDA_PREFIX and manual ICD copy

---
 doc/misc.rst | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/doc/misc.rst b/doc/misc.rst
index 8a81e8f9..013c9b22 100644
--- a/doc/misc.rst
+++ b/doc/misc.rst
@@ -94,6 +94,10 @@ qualified path names of the shared library providing the OpenCL driver.
 
     Note that you should replace ``ENVIRONMENTNAME`` with the name of your environment,
     shown between parentheses on your command line prompt.
+    This path (for the currently-active conda environment) can be obtained from the
+    environment variable ``CONDA_PREFIX``, i.e.,
+
+    :file:`$CONDA_PREFIX/etc/OpenCL/vendors`.
 
 On Linux, if you have other OpenCL drivers installed (such as for your GPU), those will be
 in :file:`/etc/OpenCL/vendors`. You can make them work with PyOpenCL from Conda Forge
@@ -101,7 +105,9 @@ by using the command::
 
     conda install ocl-icd-system
 
-will make sure these system-wide ICDs are also visible  in your conda environment.
+will make sure these system-wide ICDs are also visible in your conda environment.
+As an alternative, one may manually copy ICD files from :file:`/etc/OpenCL/vendors` into,
+e.g., :file:`$CONDA_PREFIX/etc/OpenCL/vendors`.
 
 If you are looking for more information, see `ocl-icd
 <https://github.com/OCL-dev/ocl-icd>`_ and its documentation. Ocl-icd is the
-- 
GitLab