Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bfloat16 data type not defined in openblas-0.3.10 #2801

Closed
susilehtola opened this issue Aug 29, 2020 · 1 comment
Closed

bfloat16 data type not defined in openblas-0.3.10 #2801

susilehtola opened this issue Aug 29, 2020 · 1 comment

Comments

@susilehtola
Copy link
Contributor

As reported in
https://bugzilla.redhat.com/show_bug.cgi?id=1873667

compilation of a program on x86_64 that includes openblas/f77blas.h fails with

In file included from blksdp.h:41,
                 from bwblkslv.c:45:
/usr/include/openblas/f77blas.h:476:5: error: unknown type name ‘bfloat16’; did you mean ‘_Float16’?
  476 |     bfloat16 *, blasint *, bfloat16 *, blasint *, float *, float *, blasint *);
      |     ^~~~~~~~
      |     _Float16

Indeed, the file f77blas.h installed by openblas-0.3.10 has the following declaration

/* Level 3 routines */

void BLASFUNC(shgemm)(char *, char *, blasint *, blasint *, blasint *, float *,
           bfloat16 *, blasint *, bfloat16 *, blasint *, float *, float *, blasint *);
void BLASFUNC(sgemm)(char *, char *, blasint *, blasint *, blasint *, float *,
           float  *, blasint *, float  *, blasint *, float  *, float  *, blasint *);
void BLASFUNC(dgemm)(char *, char *, blasint *, blasint *, blasint *, double *,
           double *, blasint *, double *, blasint *, double *, double *, blasint *);
@martin-frbg
Copy link
Collaborator

#2783 believed to be fixed by #2784

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants