summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Ribizel <ribizel@kit.edu>2020-11-05 15:43:57 +0100
committerBrad King <brad.king@kitware.com>2020-11-05 10:05:01 -0500
commite620bb7293282d11291ca7969ee3c867f12b2264 (patch)
treeda005186804f7f70b7bb441eb3030856670253d3
parentfb98883e2b06a5c477cc27c00bd8196590eb6fa9 (diff)
downloadcmake-e620bb7293282d11291ca7969ee3c867f12b2264.tar.gz
Help: Add cuda-memcheck to CTest documentation
Issue: #21388
-rw-r--r--Help/manual/ctest.1.rst14
-rw-r--r--Help/variable/CTEST_MEMORYCHECK_TYPE.rst6
2 files changed, 17 insertions, 3 deletions
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index b5bb1c12df..e947232bd4 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -1142,6 +1142,20 @@ Additional configuration settings include:
* `CTest Script`_ variable: none
* :module:`CTest` module variable: ``DRMEMORY_COMMAND_OPTIONS``
+``CudaMemcheckCommand``
+ Specify a ``MemoryCheckCommand`` that is known to be a command-line
+ compatible with cuda-memcheck or compute-sanitizer.
+
+ * `CTest Script`_ variable: none
+ * :module:`CTest` module variable: ``CUDA_MEMCHECK_COMMAND``
+
+``CudaMemcheckCommandOptions``
+ Specify command-line options to the ``CudaMemcheckCommand`` tool.
+ They will be placed prior to the test command line.
+
+ * `CTest Script`_ variable: none
+ * :module:`CTest` module variable: ``CUDA_MEMCHECK_COMMAND_OPTIONS``
+
.. _`CTest Submit Step`:
CTest Submit Step
diff --git a/Help/variable/CTEST_MEMORYCHECK_TYPE.rst b/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
index 245222836b..5204389e4a 100644
--- a/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
+++ b/Help/variable/CTEST_MEMORYCHECK_TYPE.rst
@@ -5,6 +5,6 @@ CTEST_MEMORYCHECK_TYPE
Specify the CTest ``MemoryCheckType`` setting
in a :manual:`ctest(1)` dashboard client script.
-Valid values are ``Valgrind``, ``Purify``, ``BoundsChecker``, ``DrMemory`` and
-``ThreadSanitizer``, ``AddressSanitizer``, ``LeakSanitizer``, ``MemorySanitizer``, and
-``UndefinedBehaviorSanitizer``.
+Valid values are ``Valgrind``, ``Purify``, ``BoundsChecker``, ``DrMemory``,
+``CudaMemcheck``, ``ThreadSanitizer``, ``AddressSanitizer``, ``LeakSanitizer``,
+``MemorySanitizer`` and ``UndefinedBehaviorSanitizer``.