redesign matrix design
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
// Hybrid implementation: SIMD for Abs, Scalar for Max
|
||||
// Assumes Column-Major layout for both MAT_KERNEL content and Kernel sequence
|
||||
static void povit_float_simd_abs(MAT_KERNEL(float) const *source, size_t col_begin,
|
||||
static void povit_float(MAT_KERNEL(float) const *source, size_t col_begin,
|
||||
size_t col_length, size_t *restrict ans)
|
||||
{
|
||||
float max_v[4] = { -1.0f, -1.0f, -1.0f, -1.0f };
|
||||
@@ -62,18 +62,3 @@ static void povit_float_simd_abs(MAT_KERNEL(float) const *source, size_t col_beg
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
DECLARE_MAT_POVIT_PROC(float, sse)
|
||||
{
|
||||
povit_float_simd_abs(source, col_begin, col_length, ans);
|
||||
}
|
||||
|
||||
DECLARE_MAT_POVIT_PROC(float, avx)
|
||||
{
|
||||
povit_float_simd_abs(source, col_begin, col_length, ans);
|
||||
}
|
||||
|
||||
DECLARE_MAT_POVIT_PROC(float, 512)
|
||||
{
|
||||
povit_float_simd_abs(source, col_begin, col_length, ans);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user