Skip to content

Commit

Permalink
make: add --device-debug to NVCC debug flags (ggerganov#7542)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGaessler authored May 27, 2024
1 parent 197c006 commit 10b1e45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10b1e45

Please sign in to comment.