diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-02-27 15:52:02 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-23 20:33:55 +0200 |
| commit | ff5b37ec9f996ded3620c2896e3f19af0532ac0f (patch) | |
| tree | 11ff513e5f80b39e715bb4f7c3d621c178294e26 | |
| parent | 10a0c758dc59b1fb9e2f961485240e80f118eb9d (diff) | |
Add some cuda debugging bits.
| -rwxr-xr-x | run/tests | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -26,6 +26,12 @@ elif [ "$1" == "--drd" ]; then elif [ "$1" == "--helgrind" ]; then shift; valgrind --tool="helgrind" build/test/unit-tests $* +elif [ "$1" == "--nvprof" ]; then + shift + nvprof --profile-child-processes --print-gpu-summary build/test/unit-tests --catch_system_errors=no $* +elif [ "$1" == "--cuda-memcheck" ]; then + shift + cuda-memcheck build/test/unit-tests --catch-system-errors=no $* else ulimit -c unlimited build/test/unit-tests --catch_system_errors=no --log_level=test_suite $* |
