Skip to content

Commit 5dcf47c

Browse files
authored
Merge pull request #2784 from martin-frbg/issue2783
Add fallback typedef for bfloat16 to openblas_config.h template
2 parents efdd237 + aa286e3 commit 5dcf47c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openblas_config_template.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ typedef long BLASLONG;
3434
typedef unsigned long BLASULONG;
3535
#endif
3636

37+
#ifndef BFLOAT16
38+
typedef unsigned short bfloat16;
39+
#endif
40+
3741
#ifdef OPENBLAS_USE64BITINT
3842
typedef BLASLONG blasint;
3943
#else

0 commit comments

Comments
 (0)