make: add --device-debug to NVCC debug flags (#7542)
This commit is contained in:
parent
197c00681b
commit
10b1e45876
1 changed files with 3 additions and 0 deletions
3
Makefile
3
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
|
||||
|
|
Loading…
Add table
Reference in a new issue