Browse Source

Pass BUILD_HALF as a compiler define for dynamic_arch builds

pull/2590/head
Martin Kroeker GitHub 6 years ago
parent
commit
b2f6f76a5a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      Makefile.system
  2. +1
    -1
      common_param.h

+ 4
- 0
Makefile.system View File

@@ -1124,6 +1124,10 @@ ifeq ($(USE_TLS), 1)
CCOMMON_OPT += -DUSE_TLS
endif

ifeq ($(BUILD_HALF), 1)
CCOMMON_OPT += -DBUILD_HALF
endif

CCOMMON_OPT += -DVERSION=\"$(VERSION)\"

ifndef SYMBOLPREFIX


+ 1
- 1
common_param.h View File

@@ -47,7 +47,7 @@ typedef struct {
int dtb_entries;
int offsetA, offsetB, align;

#if 1
#ifdef BUILD_HALF
int shgemm_p, shgemm_q, shgemm_r;
int shgemm_unroll_m, shgemm_unroll_n, shgemm_unroll_mn;



Loading…
Cancel
Save