remove unused SANITY_CHECK option #2022
This commit is contained in:
parent
e6b9275034
commit
e7910d098d
|
@ -76,10 +76,6 @@ if (NOT DYNAMIC_ARCH)
|
||||||
list(APPEND BLASDIRS kernel)
|
list(APPEND BLASDIRS kernel)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (DEFINED SANITY_CHECK)
|
|
||||||
list(APPEND BLASDIRS reference)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
set(SUBDIRS ${BLASDIRS})
|
set(SUBDIRS ${BLASDIRS})
|
||||||
if (NOT NO_LAPACK)
|
if (NOT NO_LAPACK)
|
||||||
if(BUILD_RELAPACK)
|
if(BUILD_RELAPACK)
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -7,10 +7,6 @@ ifneq ($(DYNAMIC_ARCH), 1)
|
||||||
BLASDIRS += kernel
|
BLASDIRS += kernel
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef SANITY_CHECK
|
|
||||||
BLASDIRS += reference
|
|
||||||
endif
|
|
||||||
|
|
||||||
SUBDIRS = $(BLASDIRS)
|
SUBDIRS = $(BLASDIRS)
|
||||||
ifneq ($(NO_LAPACK), 1)
|
ifneq ($(NO_LAPACK), 1)
|
||||||
SUBDIRS += lapack
|
SUBDIRS += lapack
|
||||||
|
@ -364,7 +360,6 @@ clean ::
|
||||||
#ifdef DYNAMIC_ARCH
|
#ifdef DYNAMIC_ARCH
|
||||||
@$(MAKE) -C kernel clean
|
@$(MAKE) -C kernel clean
|
||||||
#endif
|
#endif
|
||||||
@$(MAKE) -C reference clean
|
|
||||||
@rm -f *.$(LIBSUFFIX) *.so *~ *.exe getarch getarch_2nd *.dll *.lib *.$(SUFFIX) *.dwf $(LIBPREFIX).$(LIBSUFFIX) $(LIBPREFIX)_p.$(LIBSUFFIX) $(LIBPREFIX).so.$(MAJOR_VERSION) *.lnk myconfig.h
|
@rm -f *.$(LIBSUFFIX) *.so *~ *.exe getarch getarch_2nd *.dll *.lib *.$(SUFFIX) *.dwf $(LIBPREFIX).$(LIBSUFFIX) $(LIBPREFIX)_p.$(LIBSUFFIX) $(LIBPREFIX).so.$(MAJOR_VERSION) *.lnk myconfig.h
|
||||||
ifeq ($(OSNAME), Darwin)
|
ifeq ($(OSNAME), Darwin)
|
||||||
@rm -rf getarch.dSYM getarch_2nd.dSYM
|
@rm -rf getarch.dSYM getarch_2nd.dSYM
|
||||||
|
|
|
@ -218,10 +218,6 @@ NO_AFFINITY = 1
|
||||||
# been reported to be optimal for certain workloads (50 is the recommended value for Julia).
|
# been reported to be optimal for certain workloads (50 is the recommended value for Julia).
|
||||||
# GEMM_MULTITHREAD_THRESHOLD = 4
|
# GEMM_MULTITHREAD_THRESHOLD = 4
|
||||||
|
|
||||||
# If you need sanity check by comparing results to reference BLAS. It'll be very
|
|
||||||
# slow (Not implemented yet).
|
|
||||||
# SANITY_CHECK = 1
|
|
||||||
|
|
||||||
# The installation directory.
|
# The installation directory.
|
||||||
# PREFIX = /opt/OpenBLAS
|
# PREFIX = /opt/OpenBLAS
|
||||||
|
|
||||||
|
|
|
@ -403,11 +403,6 @@ endif
|
||||||
|
|
||||||
ifdef UTEST_CHECK
|
ifdef UTEST_CHECK
|
||||||
CCOMMON_OPT += -DUTEST_CHECK
|
CCOMMON_OPT += -DUTEST_CHECK
|
||||||
SANITY_CHECK = 1
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef SANITY_CHECK
|
|
||||||
CCOMMON_OPT += -DSANITY_CHECK -DREFNAME=$(*F)f$(BU)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
MAX_STACK_ALLOC ?= 2048
|
MAX_STACK_ALLOC ?= 2048
|
||||||
|
|
|
@ -86,11 +86,5 @@ endif ()
|
||||||
|
|
||||||
if (UTEST_CHECK)
|
if (UTEST_CHECK)
|
||||||
set(CCOMMON_OPT "${CCOMMON_OPT} -DUTEST_CHECK")
|
set(CCOMMON_OPT "${CCOMMON_OPT} -DUTEST_CHECK")
|
||||||
set(SANITY_CHECK 1)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
if (SANITY_CHECK)
|
|
||||||
# TODO: need some way to get $(*F) (target filename)
|
|
||||||
set(CCOMMON_OPT "${CCOMMON_OPT} -DSANITY_CHECK -DREFNAME=$(*F)f${BU}")
|
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
3
common.h
3
common.h
|
@ -795,9 +795,6 @@ typedef struct {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "common_interface.h"
|
#include "common_interface.h"
|
||||||
#ifdef SANITY_CHECK
|
|
||||||
#include "common_reference.h"
|
|
||||||
#endif
|
|
||||||
#include "common_macro.h"
|
#include "common_macro.h"
|
||||||
#include "common_level1.h"
|
#include "common_level1.h"
|
||||||
#include "common_level2.h"
|
#include "common_level2.h"
|
||||||
|
|
Loading…
Reference in New Issue