diff options
author | Tobias Ribizel <ribizel@kit.edu> | 2020-08-05 09:06:12 (GMT) |
---|---|---|
committer | Tobias Ribizel <ribizel@kit.edu> | 2020-08-05 09:28:00 (GMT) |
commit | d7a2cf681be26b020619dd63a51454aad0d2931f (patch) | |
tree | c62eca758211f079a61bba7442d2a710b5cb66bb /Tests | |
parent | 562dcec3c4440a992acf06f697063a4e03c8856f (diff) | |
download | CMake-d7a2cf681be26b020619dd63a51454aad0d2931f.zip CMake-d7a2cf681be26b020619dd63a51454aad0d2931f.tar.gz CMake-d7a2cf681be26b020619dd63a51454aad0d2931f.tar.bz2 |
Tests: Add cases for cuda-memcheck error types
Diffstat (limited to 'Tests')
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 ") |