cpp/Makefile : fixed compute-sanitizer typo
This commit is contained in:
parent
1f5aa0874a
commit
8565ce782b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user