Added DEBUG option in Makefile.rule. Fixed DEBUG typo mistakes.

This commit is contained in:
Xianyi Zhang 2011-02-26 11:19:54 +08:00
parent 36b3a730d3
commit 1b97ec1a7c
3 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ VERSION = 0.1
# DEBUG = 1
ifeq ($(DEBUG), 1)
COMMON_OPT += -g
COMMON_OPT += -g -DDEBUG
else
COMMON_OPT += -O2
endif

View File

@ -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;

View File

@ -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;