mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix mixed-type GEMM packing for backends without half/quarter packets
libeigen/eigen!2297 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
@@ -196,6 +196,8 @@ if(COMPILER_SUPPORTS_VECTOR_EXTENSIONS)
|
||||
ei_add_test(packetmath_generic_16 "-DEIGEN_FAST_MATH=1")
|
||||
ei_add_test(packetmath_generic_32 "-DEIGEN_FAST_MATH=1")
|
||||
ei_add_test(packetmath_generic_64 "-DEIGEN_FAST_MATH=1")
|
||||
ei_add_test(mixingtypes_generic_32)
|
||||
ei_add_test(mixingtypes_generic_64)
|
||||
endif()
|
||||
ei_add_test(packet_segment)
|
||||
ei_add_test(vectorization_logic)
|
||||
|
||||
4
test/mixingtypes_generic_32.cpp
Normal file
4
test/mixingtypes_generic_32.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
// Force the generic clang vector backend with 32-byte vectors.
|
||||
#define EIGEN_VECTORIZE_GENERIC 1
|
||||
#define EIGEN_GENERIC_VECTOR_SIZE_BYTES 32
|
||||
#include "mixingtypes.cpp"
|
||||
4
test/mixingtypes_generic_64.cpp
Normal file
4
test/mixingtypes_generic_64.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
// Force the generic clang vector backend with 64-byte vectors.
|
||||
#define EIGEN_VECTORIZE_GENERIC 1
|
||||
#define EIGEN_GENERIC_VECTOR_SIZE_BYTES 64
|
||||
#include "mixingtypes.cpp"
|
||||
Reference in New Issue
Block a user