Skip to content

Having issue compiling both BUILD_HFLOAT16 and BUILD_BFLOAT16 at the same time #5464

@ChipKerchner

Description

@ChipKerchner

When both flags are present, I get these errors:

In file included from /proj_sw/user_dev/ckerchner/OpenBLAS/build/interface/CMakeFiles/shgemm.c:7:
/proj_sw/user_dev/ckerchner/OpenBLAS/interface/gemm.c:257:6: error: conflicting types for 'shgemm_'
  257 | void NAME(char *TRANSA, char *TRANSB,
      |      ^
/proj_sw/user_dev/ckerchner/OpenBLAS/build/interface/CMakeFiles/shgemm.c:3:14: note: expanded from macro 'NAME'
    3 | #define NAME shgemm_
      |              ^
/proj_sw/user_dev/ckerchner/OpenBLAS/common_interface.h:488:6: note: previous declaration is here
  488 | void BLASFUNC(shgemm)(char *, char *, blasint *, blasint *, blasint *, float *,
      |      ^
/proj_sw/user_dev/ckerchner/OpenBLAS/common.h:195:24: note: expanded from macro 'BLASFUNC'
  195 | #define BLASFUNC(FUNC) FUNC##_
      |                        ^
<scratch space>:228:1: note: expanded from here
  228 | shgemm_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions