mirror of
https://github.com/amd/blis.git
synced 2026-05-11 17:50:00 +00:00
Falling back to 32-bit integers for dim_t, etc.
Details: - In light of recent segfaulting issues when compiling on 32-bit systems, I've changed the default typedef for gint_t and guint_t from int64_t and uint64_t to int32_t and uint32_t, respectively. - Disabled 64-bit integers in the blas2blis layer for the reference configuration. - Added type sizes of gint_t, guint_t, and the four floating-point datatypes to introductory output of the testsuite.
This commit is contained in:
@@ -48,14 +48,24 @@
|
||||
#include <stdint.h>
|
||||
#else
|
||||
// When stdint.h is not available, manually typedef the types we will use.
|
||||
typedef signed long int int64_t;
|
||||
#if 0
|
||||
typedef signed long int int64_t;
|
||||
typedef unsigned long int uint64_t;
|
||||
#else
|
||||
typedef signed long int int32_t;
|
||||
typedef unsigned long int uint32_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// -- General-purpose integers --
|
||||
|
||||
typedef int64_t gint_t; // general signed integer
|
||||
#if 0
|
||||
typedef int64_t gint_t; // general signed integer
|
||||
typedef uint64_t guint_t; // general unsigned integer
|
||||
#else
|
||||
typedef int32_t gint_t; // general signed integer
|
||||
typedef uint32_t guint_t; // general unsigned integer
|
||||
#endif
|
||||
|
||||
// -- Boolean type --
|
||||
|
||||
|
||||
Reference in New Issue
Block a user