File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
* Data Type
9
9
***************************/
10
10
typedef float32x4_t v_f32 ;
11
- #if NPY_SIMD_F64
11
+ #if V_SIMD_F64
12
12
typedef float64x2_t v_f64 ;
13
13
#endif
14
14
#define v_nlanes_f32 4
@@ -33,7 +33,7 @@ typedef float32x4_t v_f32;
33
33
#endif
34
34
35
35
// FUSED F64
36
- #if NPY_SIMD_F64
36
+ #if V_SIMD_F64
37
37
BLAS_FINLINE v_f64 v_muladd_f64 (v_f64 a , v_f64 b , v_f64 c )
38
38
{ return vfmaq_f64 (c , a , b ); }
39
39
#endif
@@ -45,7 +45,7 @@ BLAS_FINLINE float v_sum_f32(float32x4_t a)
45
45
return vget_lane_f32 (vpadd_f32 (r , r ), 0 );
46
46
}
47
47
48
- #if NPY_SIMD_F64
48
+ #if V_SIMD_F64
49
49
BLAS_FINLINE double v_sum_f64 (float64x2_t a )
50
50
{
51
51
return vget_lane_f64 (vget_low_f64 (a ) + vget_high_f64 (a ), 0 );
@@ -60,7 +60,7 @@ BLAS_FINLINE float v_sum_f32(float32x4_t a)
60
60
#define v_storeu_f32 vst1q_f32
61
61
#define v_setall_f32 (VAL ) vdupq_n_f32(VAL)
62
62
#define v_zero_f32 () vdupq_n_f32(0.0f)
63
- #if NPY_SIMD_F64
63
+ #if V_SIMD_F64
64
64
#define v_loadu_f64 (a ) vld1q_f64((const double*)a)
65
65
#define v_storeu_f64 vst1q_f64
66
66
#define v_setall_f64 vdupq_n_f64
You can’t perform that action at this time.
0 commit comments