Skip to content

Commit

Permalink
xst Float 16 variation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kellner committed Jan 20, 2025
1 parent ddd5831 commit b70140a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xs/tools/xslOpt.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@
#if GNUC > 11
#define mxUseFloat16 1
#endif
#else
#define mxUseFloat16 1
#endif
#define mxUseGCCAtomics 1
#define mxUsePOSIXThreads 1
Expand Down
6 changes: 6 additions & 0 deletions xs/tools/xst.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,13 @@
#include <unistd.h>
typedef int txSocket;
#define mxNoSocket -1
#if mxLinux
#if GNUC > 11
#define mxUseFloat16 1
#endif
#else
#define mxUseFloat16 1
#endif
#define mxUseGCCAtomics 1
#define mxUsePOSIXThreads 1
#endif
Expand Down

0 comments on commit b70140a

Please sign in to comment.