Skip to content

Commit d7b0fcc

Browse files
authored
Enable SME-based kernels for VortexM4 with clang-based compilers only
1 parent 2346d0b commit d7b0fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

param.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3864,7 +3864,7 @@ Until then, just keep it different than DGEMM_DEFAULT_UNROLL_N to keep copy rout
38643864

38653865
#endif /* ARMv8 */
38663866

3867-
#if defined(ARMV9SME) || defined(VORTEXM4) /* ARMv9 SME */
3867+
#if defined(ARMV9SME) || (defined(VORTEXM4)&&defined(__clang__)) /* ARMv9 SME */
38683868
#define USE_SGEMM_KERNEL_DIRECT 1
38693869
#define USE_SSYMM_KERNEL_DIRECT 1
38703870
#define USE_STRMM_KERNEL_DIRECT 1

0 commit comments

Comments
 (0)