add link to CUDA doc
@@ -5,7 +5,6 @@ Environment variables
Here are the environment variables CuPy uses.
-
+------------------------------------+----------------------------------------------------+
| ``CUDA_PATH`` | Path to the directory containing CUDA. |
| | The parent of the directory containing ``nvcc`` is |
@@ -49,9 +48,14 @@ Here are the environment variables CuPy uses.
| | ``cupy_ndarray[:] = numpy_ndarray`` |
+------------------------------------+----------------------------------------------------+
+Moreover, as in any CUDA programs, all of the CUDA environment variables listed in the `CUDA Toolkit
+Documentation`_ will also be honored.
+
+.. _CUDA Toolkit Documentation: https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
+
-For install
------------
+For installation
+----------------
These environment variables are used during installation (building CuPy from source).
@@ -70,5 +74,6 @@ These environment variables are used during installation (building CuPy from sou
| | further detail. |
+-----------------------------+----------------------------------------------------------------+
| ``CUPY_NVCC_GENERATE_CODE`` | To build CuPy for a particular CUDA architecture. For example, |
-| | ``CUPY_NVCC_GENERATE_CODE=compute_60,sm_60``. |
+| | ``CUPY_NVCC_GENERATE_CODE=compute_60,sm_60``. When this is not |
+| | set, the default is to support all architectures. |
+-----------------------------+----------------------------------------------------------------+
