Browse Source

remove unused SANITY_CHECK option #2022

pull/2681/head
User User-User 5 years ago
parent
commit
e7910d098d
6 changed files with 0 additions and 27 deletions
  1. +0
    -4
      CMakeLists.txt
  2. +0
    -5
      Makefile
  3. +0
    -4
      Makefile.rule
  4. +0
    -5
      Makefile.system
  5. +0
    -6
      cmake/os.cmake
  6. +0
    -3
      common.h

+ 0
- 4
CMakeLists.txt View File

@@ -76,10 +76,6 @@ if (NOT DYNAMIC_ARCH)
list(APPEND BLASDIRS kernel)
endif ()

if (DEFINED SANITY_CHECK)
list(APPEND BLASDIRS reference)
endif ()

set(SUBDIRS ${BLASDIRS})
if (NOT NO_LAPACK)
if(BUILD_RELAPACK)


+ 0
- 5
Makefile View File

@@ -7,10 +7,6 @@ ifneq ($(DYNAMIC_ARCH), 1)
BLASDIRS += kernel
endif

ifdef SANITY_CHECK
BLASDIRS += reference
endif

SUBDIRS = $(BLASDIRS)
ifneq ($(NO_LAPACK), 1)
SUBDIRS += lapack
@@ -364,7 +360,6 @@ clean ::
#ifdef DYNAMIC_ARCH
@$(MAKE) -C kernel clean
#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
ifeq ($(OSNAME), Darwin)
@rm -rf getarch.dSYM getarch_2nd.dSYM


+ 0
- 4
Makefile.rule View File

@@ -218,10 +218,6 @@ NO_AFFINITY = 1
# been reported to be optimal for certain workloads (50 is the recommended value for Julia).
# 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.
# PREFIX = /opt/OpenBLAS



+ 0
- 5
Makefile.system View File

@@ -403,11 +403,6 @@ endif

ifdef UTEST_CHECK
CCOMMON_OPT += -DUTEST_CHECK
SANITY_CHECK = 1
endif

ifdef SANITY_CHECK
CCOMMON_OPT += -DSANITY_CHECK -DREFNAME=$(*F)f$(BU)
endif

MAX_STACK_ALLOC ?= 2048


+ 0
- 6
cmake/os.cmake View File

@@ -86,11 +86,5 @@ endif ()

if (UTEST_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 ()


+ 0
- 3
common.h View File

@@ -795,9 +795,6 @@ typedef struct {
#endif

#include "common_interface.h"
#ifdef SANITY_CHECK
#include "common_reference.h"
#endif
#include "common_macro.h"
#include "common_level1.h"
#include "common_level2.h"


Loading…
Cancel
Save