Skip to content

CTest: Add cuda-memcheck support

Tobias Ribizel requested to merge upsj/cmake:cuda-memcheck into master

This MR adds cuda-memcheck support to CTest. The output parser uses custom error types instead of the provided ones, since they did not really map well.

cuda-memcheck has a few other tools (racecheck, synccheck and initcheck), which can be selected using the MemoryCheckCommandOptions variable

The test errors are copied verbatim from the output of cuda-memcheck on a small project that I set up trigger these errors.

So what remains to do:

  • Figure out how to differentiate between different cuda-memcheck tools
  • Extend parser to other error types
  • If possible/necessary add tests with a mocked cuda-memcheck
Edited by Tobias Ribizel

Merge request reports