From: Johannes Gäßler Date: Mon, 27 May 2024 17:34:40 +0000 (+0200) Subject: make: add --device-debug to NVCC debug flags (#7542) X-Git-Tag: upstream/0.0.4488~1475 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=10b1e4587670feba2c7730a645accf8234873113;p=pkg%2Fggml%2Fsources%2Fllama.cpp make: add --device-debug to NVCC debug flags (#7542) --- diff --git a/Makefile b/Makefile index fe63cbd6..5caf31cd 100644 --- a/Makefile +++ b/Makefile @@ -441,6 +441,9 @@ endif # JETSON_EOL_MODULE_DETECT ifdef LLAMA_DEBUG MK_NVCCFLAGS += -lineinfo endif # LLAMA_DEBUG +ifdef LLAMA_CUDA_DEBUG + MK_NVCCFLAGS += --device-debug +endif # LLAMA_CUDA_DEBUG ifdef LLAMA_CUDA_NVCC NVCC = $(CCACHE) $(LLAMA_CUDA_NVCC) else