Skip to content

Commit 4ef70b4

Browse files
authored
Add support for passing the HFLOAT16 option where required
1 parent b537dac commit 4ef70b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/utils.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,9 @@ function(GenerateNamedObjects sources_in)
427427
endif ()
428428
if (${float_type} STREQUAL "BFLOAT16")
429429
list(APPEND obj_defines "BFLOAT16")
430+
endif ()
431+
if (${float_type} STREQUAL "HFLOAT16")
432+
list(APPEND obj_defines "HFLOAT16")
430433
endif ()
431434
if (${float_type} STREQUAL "COMPLEX" OR ${float_type} STREQUAL "ZCOMPLEX")
432435
list(APPEND obj_defines "COMPLEX")

0 commit comments

Comments
 (0)