Commit 7f2cd45e authored by tyhsu's avatar tyhsu

Take "-g -G" flags off 'ldpc' make tag

Add "-g -G" flags would make the execution less efficient,
so add them when needed
parent dfbc35ea
......@@ -3,18 +3,20 @@ TXT = gen_matrix.txt
DEBUG = debug
FILE = channel_output.txt
num = 1
CFLAGS=
gen: clean gen_idx.c
$(CC) $(EXEC).c -o $(EXEC) -g
ldpc: clean ldpc.cu
cp ../test_input/8448/$(num).txt $(FILE)
nvcc -arch=compute_70 -rdc=true ldpc.cu -o ldpc -g -G
nvcc $(CFLAGS) ldpc.cu -o ldpc
mkdir debug
test: ldpc
./check.sh
cgdb: CFLAGS += -g -G
cgdb: clean ldpc
cuda-gdb --silent --args ldpc $(FILE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment