Skip to content

CTest: Add more error types to cuda-memcheck parser

Tobias Ribizel requested to merge upsj/cmake:cuda_memcheck_more_errors into master

The cuda-memcheck parser in CTest uses a few specific regex matchers and a general "catch-all" matcher to get shortened descriptions for all possible error types. There are a few error types where this works well, but some error messages contain variable content (like addresses, read sizes, error-subtypes, ...) which should not be part of the description.

This MR adds the three missing error types I could find to the cuda-memcheck parser, as well as tests for the correct output.

  • Host API memory access error at host access occurs with initcheck when you call cudaMemcpy on uninitialized memory on the GPU.
  • Fatal UVM (C|G)PU fault denotes errors in relation to unified memory

Merge request reports