make: add --device-debug to NVCC debug flags (#7542)

This commit is contained in:
Johannes Gäßler 2024-05-27 19:34:40 +02:00 committed by GitHub
parent 197c00681b
commit 10b1e45876
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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