Browse Source

Add typedef for bfloat16 if needed

tags/v0.3.11^2
Martin Kroeker GitHub 5 years ago
parent
commit
aa286e301b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      openblas_config_template.h

+ 4
- 0
openblas_config_template.h 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


Loading…
Cancel
Save