Make AVX512 BFLOAT16 kernels conditional on compiler capability
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
include $(KERNELDIR)/KERNEL.SKYLAKEX
|
||||
|
||||
ifneq ($(NO_AVX512BF16), 1)
|
||||
SBGEMM_SMALL_M_PERMIT = sbgemm_small_kernel_permit_cooperlake.c
|
||||
SBGEMM_SMALL_K_NN = sbgemm_small_kernel_nn_cooperlake.c
|
||||
SBGEMM_SMALL_K_B0_NN = sbgemm_small_kernel_nn_cooperlake.c
|
||||
@@ -20,3 +20,4 @@ SBGEMMINCOPYOBJ = sbgemm_incopy$(TSUFFIX).$(SUFFIX)
|
||||
SBGEMMITCOPYOBJ = sbgemm_itcopy$(TSUFFIX).$(SUFFIX)
|
||||
SBGEMMONCOPYOBJ = sbgemm_oncopy$(TSUFFIX).$(SUFFIX)
|
||||
SBGEMMOTCOPYOBJ = sbgemm_otcopy$(TSUFFIX).$(SUFFIX)
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
include $(KERNELDIR)/KERNEL.COOPERLAKE
|
||||
|
||||
ifneq ($(NO_AVX512BF16), 1)
|
||||
SBGEMM_SMALL_M_PERMIT =
|
||||
SBGEMM_SMALL_K_NN =
|
||||
SBGEMM_SMALL_K_B0_NN =
|
||||
@@ -20,3 +21,4 @@ SBGEMMINCOPYOBJ = sbgemm_incopy$(TSUFFIX).$(SUFFIX)
|
||||
SBGEMMITCOPYOBJ = sbgemm_itcopy$(TSUFFIX).$(SUFFIX)
|
||||
SBGEMMONCOPYOBJ = sbgemm_oncopy$(TSUFFIX).$(SUFFIX)
|
||||
SBGEMMOTCOPYOBJ = sbgemm_otcopy$(TSUFFIX).$(SUFFIX)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user