File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ foreach (GEMM_DEFINE ${GEMM_DEFINES})
14
14
endif ()
15
15
if (BUILD_BFLOAT16 )
16
16
GenerateNamedObjects ("gemm.c" "${GEMM_DEFINE} " "gemm_${GEMM_DEFINE_LC} " 0 "" "" false "BFLOAT16" )
17
+ GenerateNamedObjects ("gemm.c" "${GEMM_DEFINE} ;BGEMM" "gemm_${GEMM_DEFINE_LC} " 0 "" "" false "BFLOAT16" )
17
18
if (USE_THREAD AND NOT USE_SIMPLE_THREADED_LEVEL3 )
18
19
GenerateNamedObjects ("gemm.c" "${GEMM_DEFINE} ;THREADED_LEVEL3" "gemm_thread_${GEMM_DEFINE_LC} " 0 "" "" false "BFLOAT16" )
19
20
endif ()
Original file line number Diff line number Diff line change @@ -283,6 +283,11 @@ if ( BUILD_COMPLEX16 AND NOT BUILD_DOUBLE)
283
283
GenerateNamedObjects ("imax.c" "USE_ABS" "i*amax" 0 "" "" false "DOUBLE" )
284
284
endif ()
285
285
286
+ if ( BUILD_BFLOAT16 AND NO_FBLAS )
287
+ GenerateNamedObjects ("tobf16.c" "SINGLE_PREC" "sbstobf16" 0 "" "" true "BFLOAT16" )
288
+ GenerateNamedObjects ("bf16to.c" "SINGLE_PREC" "sbf16tos" 0 "" "" true "BFLOAT16" )
289
+ endif ()
290
+
286
291
add_library (interface OBJECT ${OPENBLAS_SRC} )
287
292
288
293
if (USE_OPENMP )
You can’t perform that action at this time.
0 commit comments