0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-18 10:53:48 +02:00

configure: Additional half-precision type checks.

This commit is contained in:
Jason Volk 2021-02-26 14:10:13 -08:00
parent 57f9d3fdfb
commit 3a5bcbb0dd

View file

@ -990,9 +990,12 @@ AC_CHECK_TYPES([__uint128_t])
AC_CHECK_SIZEOF([__uint128_t])
dnl Gauge the support of experimental compact floating point formats
AC_CHECK_SIZEOF([__fp16])
AC_CHECK_SIZEOF([__bf16])
AC_CHECK_TYPES([_Float16])
AC_CHECK_SIZEOF([_Float16])
AC_CHECK_TYPES([__fp16])
AC_CHECK_SIZEOF([__fp16])
AC_CHECK_TYPES([__bf16])
AC_CHECK_SIZEOF([__bf16])
dnl -fsigned-char ensures 'char' is signed on all platforms
RB_VAR_PREPEND([CFLAGS], ["-fsigned-char"])