Added DEBUG option in Makefile.rule. Fixed DEBUG typo mistakes.
This commit is contained in:
parent
36b3a730d3
commit
1b97ec1a7c
|
@ -92,7 +92,7 @@ VERSION = 0.1
|
|||
# DEBUG = 1
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
COMMON_OPT += -g
|
||||
COMMON_OPT += -g -DDEBUG
|
||||
else
|
||||
COMMON_OPT += -O2
|
||||
endif
|
||||
|
|
|
@ -297,7 +297,7 @@ int CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n,
|
|||
printf("GEMM: SA .. %p SB .. %p\n", sa, sb);
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef TIMING
|
||||
innercost = 0;
|
||||
outercost = 0;
|
||||
kernelcost = 0;
|
||||
|
|
|
@ -278,7 +278,7 @@ int CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n,
|
|||
// fprintf(stderr, "A = %p B = %p C = %p\n\tlda = %ld ldb = %ld ldc = %ld\n", a, b, c, lda, ldb, ldc);
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef TIMING
|
||||
innercost = 0;
|
||||
outercost = 0;
|
||||
kernelcost = 0;
|
||||
|
|
Loading…
Reference in New Issue