@@ -854,49 +854,49 @@ endif ()
854
854
# Makefile.LA
855
855
if (NOT NO_LAPACK )
856
856
foreach (float_type ${FLOAT_TYPES} )
857
+ string (SUBSTRING ${float_type} 0 1 float_char )
857
858
if (${float_type} STREQUAL "BFLOAT16" )
858
859
set (float_char "SB" )
859
860
endif ()
860
861
if (NOT DEFINED ${float_char} NEG_TCOPY )
861
862
if (${float_char} STREQUAL "Z" OR ${float_char} STREQUAL "C" OR ${float_char} STREQUAL "X" )
862
- set (${float_char} NEG_TCOPY ../generic/zneg_tcopy .c )
863
+ set (${float_char} NEG_TCOPY ../generic/zneg_tcopy_${${float_char}GEMM_UNROLL_M} .c )
863
864
else ()
864
- set (${float_char} NEG_TCOPY ../generic/neg_tcopy .c )
865
+ set (${float_char} NEG_TCOPY ../generic/neg_tcopy_${${float_char}GEMM_UNROLL_M} .c )
865
866
endif ()
866
867
endif ()
867
868
868
869
if (NOT DEFINED ${float_char} LASWP_NCOPY )
869
870
if (${float_char} STREQUAL "Z" OR ${float_char} STREQUAL "C" OR ${float_char} STREQUAL "X" )
870
- set (${float_char} LASWP_NCOPY ../generic/zlaswp_ncopy .c )
871
+ set (${float_char} LASWP_NCOPY ../generic/zlaswp_ncopy_${${float_char}GEMM_UNROLL_N} .c )
871
872
else ()
872
- set (${float_char} LASWP_NCOPY ../generic/laswp_ncopy .c )
873
+ set (${float_char} LASWP_NCOPY ../generic/laswp_ncopy_${${float_char}GEMM_UNROLL_N} .c )
873
874
endif ()
874
875
endif ()
875
- string (SUBSTRING ${float_type} 0 1 float_char )
876
- GenerateNamedObjects ("${KERNELDIR} /${${float_char} NEG_TCOPY}_${${float_char} GEMM_UNROLL_M}" "" "neg_tcopy" false "" "" false ${float_type} )
877
- GenerateNamedObjects ("${KERNELDIR} /${${float_char} LASWP_NCOPY}_${${float_char} GEMM_UNROLL_N}" "" "laswp_ncopy" false "" "" false ${float_type} )
876
+ GenerateNamedObjects ("${KERNELDIR} /${${float_char} NEG_TCOPY}" "" "neg_tcopy" false "" "" false ${float_type} )
877
+ GenerateNamedObjects ("${KERNELDIR} /${${float_char} LASWP_NCOPY}" "" "laswp_ncopy" false "" "" false ${float_type} )
878
878
endforeach ()
879
879
if (BUILD_COMPLEX AND NOT BUILD_SINGLE )
880
880
if (NOT DEFINED SNEG_TCOPY )
881
- set (SNEG_TCOPY ../generic/neg_tcopy .c )
881
+ set (SNEG_TCOPY ../generic/neg_tcopy_${${float_char}GEMM_UNROLL_M} .c )
882
882
endif ()
883
883
884
884
if (NOT DEFINED SLASWP_NCOPY )
885
- set (SLASWP_NCOPY ../generic/laswp_ncopy .c )
885
+ set (SLASWP_NCOPY ../generic/laswp_ncopy_${${float_char}GEMM_UNROLL_N} .c )
886
886
endif ()
887
- GenerateNamedObjects ("${KERNELDIR} /${SNEG_TCOPY} _ ${SGEMM_UNROLL_M} " "" "neg_tcopy" false "" "" false "SINGLE" )
888
- GenerateNamedObjects ("${KERNELDIR} /${SLASWP_NCOPY} _ ${SGEMM_UNROLL_N} " "" "laswp_ncopy" false "" "" false "SINGLE" )
887
+ GenerateNamedObjects ("${KERNELDIR} /${SNEG_TCOPY} " "" "neg_tcopy" false "" "" false "SINGLE" )
888
+ GenerateNamedObjects ("${KERNELDIR} /${SLASWP_NCOPY} " "" "laswp_ncopy" false "" "" false "SINGLE" )
889
889
endif ()
890
890
if (BUILD_COMPLEX16 AND NOT BUILD_DOUBLE )
891
891
if (NOT DEFINED DNEG_TCOPY )
892
- set (DNEG_TCOPY ../generic/neg_tcopy .c )
892
+ set (DNEG_TCOPY ../generic/neg_tcopy_${${float_char}GEMM_UNROLL_M} .c )
893
893
endif ()
894
894
895
895
if (NOT DEFINED DLASWP_NCOPY )
896
- set (DLASWP_NCOPY ../generic/laswp_ncopy .c )
896
+ set (DLASWP_NCOPY ../generic/laswp_ncopy_${${float_char}GEMM_UNROLL_N} .c )
897
897
endif ()
898
- GenerateNamedObjects ("${KERNELDIR} /${DNEG_TCOPY} _${DGEMM_UNROLL_M} " "" "neg_tcopy" false "" "" false "DOUBLE" )
899
- GenerateNamedObjects ("${KERNELDIR} /${DLASWP_NCOPY} _${DGEMM_UNROLL_N} " "" "laswp_ncopy" false "" "" false "DOUBLE" )
898
+ GenerateNamedObjects ("${KERNELDIR} /${DNEG_TCOPY} _${DGEMM_UNROLL_M} .c " "" "neg_tcopy" false "" "" false "DOUBLE" )
899
+ GenerateNamedObjects ("${KERNELDIR} /${DLASWP_NCOPY} _${DGEMM_UNROLL_N} .c " "" "laswp_ncopy" false "" "" false "DOUBLE" )
900
900
endif ()
901
901
endif ()
902
902
0 commit comments