Add typedef for bfloat16 if needed

This commit is contained in:
Martin Kroeker 2020-08-17 15:32:14 +02:00 committed by GitHub
parent 9f0ef9cdfc
commit aa286e301b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ typedef long BLASLONG;
typedef unsigned long BLASULONG; typedef unsigned long BLASULONG;
#endif #endif
#ifndef BFLOAT16
typedef unsigned short bfloat16;
#endif
#ifdef OPENBLAS_USE64BITINT #ifdef OPENBLAS_USE64BITINT
typedef BLASLONG blasint; typedef BLASLONG blasint;
#else #else