Skip to content

Commit 9bb695e

Browse files
authored
Merge pull request #8455 from bosilca/fix/m1_short_complex
Provide support for short float complex on M1.
2 parents 2c48deb + 0fa261e commit 9bb695e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

opal/include/opal_config_bottom.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,14 @@ static inline uint16_t ntohs(uint16_t netvar) { return netvar; }
522522
#define restrict
523523
#endif
524524

525+
#ifdef HAVE_OPAL_SHORT_FLOAT_COMPLEX_T
526+
#undef opal_short_float_complex_t
527+
typedef struct {
528+
opal_short_float_t real;
529+
opal_short_float_t imag;
530+
} opal_short_float_complex_t;
531+
#endif
532+
525533
#else
526534

527535
/* For a similar reason to what is listed in opal_config_top.h, we

0 commit comments

Comments
 (0)