1
0
Эх сурвалжийг харах

Help: Add cuda-memcheck to CTest documentation

Issue: #21388
Tobias Ribizel 5 жил өмнө
parent
commit
e620bb7293

+ 14 - 0
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

+ 3 - 3
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``.