@@ -16,7 +16,7 @@ public unsafe void AddScalarU()
16
16
{
17
17
fixed ( float * pdst = dst )
18
18
{
19
- CpuMathNativeUtils . AddScalarU ( DEFAULT_SCALE , pdst , LEN ) ;
19
+ CpuMathNativeUtils . AddScalarU ( DefaultScale , pdst , Length ) ;
20
20
}
21
21
}
22
22
@@ -25,7 +25,7 @@ public unsafe void ScaleU()
25
25
{
26
26
fixed ( float * pdst = dst )
27
27
{
28
- CpuMathNativeUtils . ScaleU ( DEFAULT_SCALE , pdst , LEN ) ;
28
+ CpuMathNativeUtils . ScaleU ( DefaultScale , pdst , Length ) ;
29
29
}
30
30
}
31
31
@@ -35,7 +35,7 @@ public unsafe void ScaleSrcU()
35
35
fixed ( float * psrc = src )
36
36
fixed ( float * pdst = dst )
37
37
{
38
- CpuMathNativeUtils . ScaleSrcU ( DEFAULT_SCALE , psrc , pdst , LEN ) ;
38
+ CpuMathNativeUtils . ScaleSrcU ( DefaultScale , psrc , pdst , Length ) ;
39
39
}
40
40
}
41
41
@@ -44,7 +44,7 @@ public unsafe void ScaleAddU()
44
44
{
45
45
fixed ( float * pdst = dst )
46
46
{
47
- CpuMathNativeUtils . ScaleAddU ( DEFAULT_SCALE , DEFAULT_SCALE , pdst , LEN ) ;
47
+ CpuMathNativeUtils . ScaleAddU ( DefaultScale , DefaultScale , pdst , Length ) ;
48
48
}
49
49
}
50
50
@@ -54,7 +54,7 @@ public unsafe void AddScaleU()
54
54
fixed ( float * psrc = src )
55
55
fixed ( float * pdst = dst )
56
56
{
57
- CpuMathNativeUtils . AddScaleU ( DEFAULT_SCALE , psrc , pdst , LEN ) ;
57
+ CpuMathNativeUtils . AddScaleU ( DefaultScale , psrc , pdst , Length ) ;
58
58
}
59
59
}
60
60
@@ -65,7 +65,7 @@ public unsafe void AddScaleSU()
65
65
fixed ( float * pdst = dst )
66
66
fixed ( int * pidx = idx )
67
67
{
68
- CpuMathNativeUtils . AddScaleSU ( DEFAULT_SCALE , psrc , pidx , pdst , IDXLEN ) ;
68
+ CpuMathNativeUtils . AddScaleSU ( DefaultScale , psrc , pidx , pdst , IndexLength ) ;
69
69
}
70
70
}
71
71
@@ -76,7 +76,7 @@ public unsafe void AddScaleCopyU()
76
76
fixed ( float * pdst = dst )
77
77
fixed ( float * pres = result )
78
78
{
79
- CpuMathNativeUtils . AddScaleCopyU ( DEFAULT_SCALE , psrc , pdst , pres , LEN ) ;
79
+ CpuMathNativeUtils . AddScaleCopyU ( DefaultScale , psrc , pdst , pres , Length ) ;
80
80
}
81
81
}
82
82
@@ -86,7 +86,7 @@ public unsafe void AddU()
86
86
fixed ( float * psrc = src )
87
87
fixed ( float * pdst = dst )
88
88
{
89
- CpuMathNativeUtils . AddU ( psrc , pdst , LEN ) ;
89
+ CpuMathNativeUtils . AddU ( psrc , pdst , Length ) ;
90
90
}
91
91
}
92
92
@@ -97,7 +97,7 @@ public unsafe void AddSU()
97
97
fixed ( float * pdst = dst )
98
98
fixed ( int * pidx = idx )
99
99
{
100
- CpuMathNativeUtils . AddSU ( psrc , pidx , pdst , IDXLEN ) ;
100
+ CpuMathNativeUtils . AddSU ( psrc , pidx , pdst , IndexLength ) ;
101
101
}
102
102
}
103
103
@@ -108,7 +108,7 @@ public unsafe void MulElementWiseU()
108
108
fixed ( float * psrc2 = src2 )
109
109
fixed ( float * pdst = dst )
110
110
{
111
- CpuMathNativeUtils . MulElementWiseU ( psrc1 , psrc2 , pdst , LEN ) ;
111
+ CpuMathNativeUtils . MulElementWiseU ( psrc1 , psrc2 , pdst , Length ) ;
112
112
}
113
113
}
114
114
@@ -117,7 +117,7 @@ public unsafe float SumU()
117
117
{
118
118
fixed ( float * psrc = src )
119
119
{
120
- return CpuMathNativeUtils . SumU ( psrc , LEN ) ;
120
+ return CpuMathNativeUtils . SumU ( psrc , Length ) ;
121
121
}
122
122
}
123
123
@@ -126,7 +126,7 @@ public unsafe float SumSqU()
126
126
{
127
127
fixed ( float * psrc = src )
128
128
{
129
- return CpuMathNativeUtils . SumSqU ( psrc , LEN ) ;
129
+ return CpuMathNativeUtils . SumSqU ( psrc , Length ) ;
130
130
}
131
131
}
132
132
@@ -135,7 +135,7 @@ public unsafe float SumSqDiffU()
135
135
{
136
136
fixed ( float * psrc = src )
137
137
{
138
- return CpuMathNativeUtils . SumSqDiffU ( DEFAULT_SCALE , psrc , LEN ) ;
138
+ return CpuMathNativeUtils . SumSqDiffU ( DefaultScale , psrc , Length ) ;
139
139
}
140
140
}
141
141
@@ -144,7 +144,7 @@ public unsafe float SumAbsU()
144
144
{
145
145
fixed ( float * psrc = src )
146
146
{
147
- return CpuMathNativeUtils . SumAbsU ( psrc , LEN ) ;
147
+ return CpuMathNativeUtils . SumAbsU ( psrc , Length ) ;
148
148
}
149
149
}
150
150
@@ -153,7 +153,7 @@ public unsafe float SumAbsDiffU()
153
153
{
154
154
fixed ( float * psrc = src )
155
155
{
156
- return CpuMathNativeUtils . SumAbsDiffU ( DEFAULT_SCALE , psrc , LEN ) ;
156
+ return CpuMathNativeUtils . SumAbsDiffU ( DefaultScale , psrc , Length ) ;
157
157
}
158
158
}
159
159
@@ -162,7 +162,7 @@ public unsafe float MaxAbsU()
162
162
{
163
163
fixed ( float * psrc = src )
164
164
{
165
- return CpuMathNativeUtils . MaxAbsU ( psrc , LEN ) ;
165
+ return CpuMathNativeUtils . MaxAbsU ( psrc , Length ) ;
166
166
}
167
167
}
168
168
@@ -171,7 +171,7 @@ public unsafe float MaxAbsDiffU()
171
171
{
172
172
fixed ( float * psrc = src )
173
173
{
174
- return CpuMathNativeUtils . MaxAbsDiffU ( DEFAULT_SCALE , psrc , LEN ) ;
174
+ return CpuMathNativeUtils . MaxAbsDiffU ( DefaultScale , psrc , Length ) ;
175
175
}
176
176
}
177
177
@@ -181,7 +181,7 @@ public unsafe float DotU()
181
181
fixed ( float * psrc = src )
182
182
fixed ( float * pdst = dst )
183
183
{
184
- return CpuMathNativeUtils . DotU ( psrc , pdst , LEN ) ;
184
+ return CpuMathNativeUtils . DotU ( psrc , pdst , Length ) ;
185
185
}
186
186
}
187
187
@@ -192,7 +192,7 @@ public unsafe float DotSU()
192
192
fixed ( float * pdst = dst )
193
193
fixed ( int * pidx = idx )
194
194
{
195
- return CpuMathNativeUtils . DotSU ( psrc , pdst , pidx , IDXLEN ) ;
195
+ return CpuMathNativeUtils . DotSU ( psrc , pdst , pidx , IndexLength ) ;
196
196
}
197
197
}
198
198
@@ -202,7 +202,7 @@ public unsafe float Dist2()
202
202
fixed ( float * psrc = src )
203
203
fixed ( float * pdst = dst )
204
204
{
205
- return CpuMathNativeUtils . Dist2 ( psrc , pdst , LEN ) ;
205
+ return CpuMathNativeUtils . Dist2 ( psrc , pdst , Length ) ;
206
206
}
207
207
}
208
208
@@ -213,7 +213,7 @@ public unsafe void SdcaL1UpdateU()
213
213
fixed ( float * pdst = dst )
214
214
fixed ( float * pres = result )
215
215
{
216
- CpuMathNativeUtils . SdcaL1UpdateU ( DEFAULT_SCALE , psrc , DEFAULT_SCALE , pdst , pres , LEN ) ;
216
+ CpuMathNativeUtils . SdcaL1UpdateU ( DefaultScale , psrc , DefaultScale , pdst , pres , Length ) ;
217
217
}
218
218
}
219
219
@@ -225,7 +225,7 @@ public unsafe void SdcaL1UpdateSU()
225
225
fixed ( float * pres = result )
226
226
fixed ( int * pidx = idx )
227
227
{
228
- CpuMathNativeUtils . SdcaL1UpdateSU ( DEFAULT_SCALE , psrc , pidx , DEFAULT_SCALE , pdst , pres , IDXLEN ) ;
228
+ CpuMathNativeUtils . SdcaL1UpdateSU ( DefaultScale , psrc , pidx , DefaultScale , pdst , pres , IndexLength ) ;
229
229
}
230
230
}
231
231
}
0 commit comments