I tried setting MEMORYCHECK_COMMAND to /usr/local/bin/cuda-memcheck, but “ctest -T memcheck” yielded this message:
Do not understand memory checker: /usr/local/cuda/bin/cuda-memcheck
Looking at the code, there are indeed a limited number of possible memory checkers. Is there a way to finesse ctest to run cuda-memcheck? (besides renaming cuda-memcheck to valgrind
If not, it is difficult to add another memory checker?