diff options
author | Brad King <brad.king@kitware.com> | 2020-08-07 15:03:52 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-08-07 15:04:08 (GMT) |
commit | ac4412102771b9004aa3c607a776a3234334ed2c (patch) | |
tree | 2e1514cd5da9b18bda71a733ef8d82576cdeedcf /Tests/RunCMake | |
parent | e80840da14e34023dfbc2080de66f97d0e94b000 (diff) | |
parent | d7a2cf681be26b020619dd63a51454aad0d2931f (diff) | |
download | CMake-ac4412102771b9004aa3c607a776a3234334ed2c.zip CMake-ac4412102771b9004aa3c607a776a3234334ed2c.tar.gz CMake-ac4412102771b9004aa3c607a776a3234334ed2c.tar.bz2 |
Merge topic 'cuda_memcheck_more_errors'
d7a2cf681b Tests: Add cases for cuda-memcheck error types
562dcec3c4 CTest: Add error types to cuda-memcheck parser
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5101
Diffstat (limited to 'Tests/RunCMake')
3 files changed, 19 insertions, 1 deletions
diff --git a/Tests/RunCMake/ctest_memcheck/DummyCudaMemcheck-stderr.txt b/Tests/RunCMake/ctest_memcheck/DummyCudaMemcheck-stderr.txt index 31dedd2..d302b5c 100644 --- a/Tests/RunCMake/ctest_memcheck/DummyCudaMemcheck-stderr.txt +++ b/Tests/RunCMake/ctest_memcheck/DummyCudaMemcheck-stderr.txt @@ -1 +1 @@ -Defect count: 20 +Defect count: 23 diff --git a/Tests/RunCMake/ctest_memcheck/DummyCudaMemcheck-stdout.txt b/Tests/RunCMake/ctest_memcheck/DummyCudaMemcheck-stdout.txt index aa3e698..034ee1e 100644 --- a/Tests/RunCMake/ctest_memcheck/DummyCudaMemcheck-stdout.txt +++ b/Tests/RunCMake/ctest_memcheck/DummyCudaMemcheck-stdout.txt @@ -1,9 +1,12 @@ Memory checking results: Uninitialized __global__ memory read - 1 Unused memory - 1 +Host API memory access error - 1 Barrier error - 2 Invalid __global__ read - 1 cudaErrorLaunchFailure - 2 +Fatal UVM GPU fault - 1 +Fatal UVM CPU fault - 1 Memory leak - 1 Potential WAR hazard detected - 4 Potential RAW hazard detected - 4 diff --git a/Tests/RunCMake/ctest_memcheck/testCudaMemcheck.cmake b/Tests/RunCMake/ctest_memcheck/testCudaMemcheck.cmake index d7d8213..adc7a1a 100644 --- a/Tests/RunCMake/ctest_memcheck/testCudaMemcheck.cmake +++ b/Tests/RunCMake/ctest_memcheck/testCudaMemcheck.cmake @@ -37,6 +37,15 @@ file(APPEND "${LOG_FILE}" ========= Host Frame:/lib64/libc.so.6 (__libc_start_main + 0xf5) [0x22505] ========= Host Frame:./uninit-read [0x31e2] ========= +========= Host API memory access error at host access to 0x1303fd1400 of size 25600 bytes +========= Uninitialized access at 0x1303fd4600 on access by cudaMemcopy source. +========= Saved host backtrace up to driver entry point at error +========= Host Frame:/usr/lib/x86_64-linux-gnu/libcuda.so.1 (cuMemcpyDtoH_v2 + 0x1ec) [0x29200c] +========= Host Frame:/usr/local/cuda/targets/x86_64-linux/lib/libcudart.so.10.1 [0x38aaa] +========= Host Frame:/usr/local/cuda/targets/x86_64-linux/lib/libcudart.so.10.1 [0x18946] +========= Host Frame:/usr/local/cuda/targets/x86_64-linux/lib/libcudart.so.10.1 (cudaMemcpy + 0x1a2) [0x3b8c2] +========= Host Frame:/something/somewhere [0xcafe] +========= ========= ERROR SUMMARY: 2 errors ") @@ -108,6 +117,12 @@ file(APPEND "${LOG_FILE}" ========= Host Frame:/lib64/libc.so.6 (__libc_start_main + 0xf5) [0x22505] ========= Host Frame:./invalid-read [0x31e2] ========= +========= Fatal UVM GPU fault of type invalid pde due to invalid address +========= during atomic access to address 0x20be00000 +========= +========= Fatal UVM CPU fault due to invalid operation +========= during read access to address 0x1357c92000 +========= ========= LEAK SUMMARY: 0 bytes leaked in 0 allocations ========= ERROR SUMMARY: 3 errors ") |