From 8565ce782bd86aea3d89cf736cf656d08fe7450c Mon Sep 17 00:00:00 2001 From: saundersp Date: Mon, 10 Jun 2024 18:58:12 +0200 Subject: [PATCH] cpp/Makefile : fixed compute-sanitizer typo --- cpp/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/Makefile b/cpp/Makefile index 94be551..5f32a04 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -63,7 +63,7 @@ check: $(EXEC) $(DATA) | check-valgrind-works @valgrind -q -s --leak-check=full --show-leak-kinds=all $(EXEC) .PHONY: cudacheck -cudacheck: $(EXEC) $(DATA) | check-computer-sanitizer-works +cudacheck: $(EXEC) $(DATA) | check-compute-sanitizer-works @compute-sanitizer --destroy-on-device-error kernel --tool memcheck --leak-check full --report-api-errors all --track-stream-ordered-races all --target-processes all $(EXEC) #@compute-sanitizer --destroy-on-device-error kernel --tool racecheck --racecheck-detect-level info --racecheck-report all $(EXEC) #@compute-sanitizer --destroy-on-device-error kernel --tool initcheck --track-unused-memory yes $(EXEC) @@ -128,8 +128,8 @@ check-dot-works: check-valgrind-works: @valgrind --version >/dev/null 2>&1 || (echo 'Please install valgrind.' && exit 1) -.PHONY: check-computer-sanitizer-works -check-computer-sanitizer-works: - @computer-sanitizer --version >/dev/null 2>&1 || (echo 'Please install Compute Sanitizer from Cuda toolkit.' && exit 1) +.PHONY: check-compute-sanitizer-works +check-compute-sanitizer-works: + @compute-sanitizer --version >/dev/null 2>&1 || (echo 'Please install Compute Sanitizer from Cuda toolkit.' && exit 1) -include $(OBJ:.o=.d)