File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ foreach (GEMM_DEFINE ${GEMM_DEFINES})
1414 endif ()
1515 if (BUILD_BFLOAT16)
1616 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" )
1718 if (USE_THREAD AND NOT USE_SIMPLE_THREADED_LEVEL3)
1819 GenerateNamedObjects ("gemm.c" "${GEMM_DEFINE} ;THREADED_LEVEL3" "gemm_thread_${GEMM_DEFINE_LC} " 0 "" "" false "BFLOAT16" )
1920 endif ()
Original file line number Diff line number Diff line change @@ -283,6 +283,11 @@ if ( BUILD_COMPLEX16 AND NOT BUILD_DOUBLE)
283283 GenerateNamedObjects ("imax.c" "USE_ABS" "i*amax" 0 "" "" false "DOUBLE" )
284284endif ()
285285
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+
286291add_library (interface OBJECT ${OPENBLAS_SRC} )
287292
288293if (USE_OPENMP)
You can’t perform that action at this time.
0 commit comments