Skip to content

Commit 88e405e

Browse files
make: add --device-debug to NVCC debug flags
1 parent b9adcbb commit 88e405e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ ifndef JETSON_EOL_MODULE_DETECT
439439
MK_NVCCFLAGS += --forward-unknown-to-host-compiler
440440
endif # JETSON_EOL_MODULE_DETECT
441441
ifdef LLAMA_DEBUG
442-
MK_NVCCFLAGS += -lineinfo
442+
MK_NVCCFLAGS += --device-debug
443443
endif # LLAMA_DEBUG
444444
ifdef LLAMA_CUDA_NVCC
445445
NVCC = $(CCACHE) $(LLAMA_CUDA_NVCC)

0 commit comments

Comments
 (0)