@@ -52,7 +52,7 @@ extern "C" {
52
52
* This function determines what instruction sets are enabled and
53
53
* selects the appropriate version at runtime.
54
54
*
55
- * @param vects Number of source+dest vectors in array.
55
+ * @param vects Number of source+dest vectors in array. Must be > 2.
56
56
* @param len Length of each vector in bytes.
57
57
* @param array Array of pointers to source and dest. For XOR the dest is
58
58
* the last pointer. ie array[vects-1]. Src and dest
@@ -70,7 +70,7 @@ int xor_gen(int vects, int len, void **array);
70
70
* This function determines what instruction sets are enabled and
71
71
* selects the appropriate version at runtime.
72
72
*
73
- * @param vects Number of vectors in array.
73
+ * @param vects Number of vectors in array. Must be > 1.
74
74
* @param len Length of each vector in bytes.
75
75
* @param array Array of pointers to vectors. Src and dest pointers
76
76
* must be aligned to 16B.
@@ -87,7 +87,7 @@ int xor_check(int vects, int len, void **array);
87
87
* This function determines what instruction sets are enabled and
88
88
* selects the appropriate version at runtime.
89
89
*
90
- * @param vects Number of source+dest vectors in array.
90
+ * @param vects Number of source+dest vectors in array. Must be > 3.
91
91
* @param len Length of each vector in bytes. Must be 32B aligned.
92
92
* @param array Array of pointers to source and dest. For P+Q the dest
93
93
* is the last two pointers. ie array[vects-2],
@@ -107,7 +107,7 @@ int pq_gen(int vects, int len, void **array);
107
107
* This function determines what instruction sets are enabled and
108
108
* selects the appropriate version at runtime.
109
109
*
110
- * @param vects Number of vectors in array including P&Q.
110
+ * @param vects Number of vectors in array including P&Q. Must be > 3.
111
111
* @param len Length of each vector in bytes. Must be 16B aligned.
112
112
* @param array Array of pointers to source and P, Q. P and Q parity
113
113
* are assumed to be the last two pointers in the array.
@@ -127,7 +127,7 @@ int pq_check(int vects, int len, void **array);
127
127
* @brief Generate XOR parity vector from N sources.
128
128
* @requires SSE4.1
129
129
*
130
- * @param vects Number of source+dest vectors in array.
130
+ * @param vects Number of source+dest vectors in array. Must be > 2.
131
131
* @param len Length of each vector in bytes.
132
132
* @param array Array of pointers to source and dest. For XOR the dest is
133
133
* the last pointer. ie array[vects-1]. Src and dest pointers
@@ -143,7 +143,7 @@ int xor_gen_sse(int vects, int len, void **array);
143
143
* @brief Generate XOR parity vector from N sources.
144
144
* @requires AVX
145
145
*
146
- * @param vects Number of source+dest vectors in array.
146
+ * @param vects Number of source+dest vectors in array. Must be > 2.
147
147
* @param len Length of each vector in bytes.
148
148
* @param array Array of pointers to source and dest. For XOR the dest is
149
149
* the last pointer. ie array[vects-1]. Src and dest pointers
@@ -159,7 +159,7 @@ int xor_gen_avx(int vects, int len, void **array);
159
159
* @brief Checks that array has XOR parity sum of 0 across all vectors.
160
160
* @requires SSE4.1
161
161
*
162
- * @param vects Number of vectors in array.
162
+ * @param vects Number of vectors in array. Must be > 1.
163
163
* @param len Length of each vector in bytes.
164
164
* @param array Array of pointers to vectors. Src and dest pointers
165
165
* must be aligned to 16B.
@@ -174,7 +174,7 @@ int xor_check_sse(int vects, int len, void **array);
174
174
* @brief Generate P+Q parity vectors from N sources.
175
175
* @requires SSE4.1
176
176
*
177
- * @param vects Number of source+dest vectors in array.
177
+ * @param vects Number of source+dest vectors in array. Must be > 3.
178
178
* @param len Length of each vector in bytes. Must be 16B aligned.
179
179
* @param array Array of pointers to source and dest. For P+Q the dest
180
180
* is the last two pointers. ie array[vects-2],
@@ -192,7 +192,7 @@ int pq_gen_sse(int vects, int len, void **array);
192
192
* @brief Generate P+Q parity vectors from N sources.
193
193
* @requires AVX
194
194
*
195
- * @param vects Number of source+dest vectors in array.
195
+ * @param vects Number of source+dest vectors in array. Must be > 3.
196
196
* @param len Length of each vector in bytes. Must be 16B aligned.
197
197
* @param array Array of pointers to source and dest. For P+Q the dest
198
198
* is the last two pointers. ie array[vects-2],
@@ -210,7 +210,7 @@ int pq_gen_avx(int vects, int len, void **array);
210
210
* @brief Generate P+Q parity vectors from N sources.
211
211
* @requires AVX2
212
212
*
213
- * @param vects Number of source+dest vectors in array.
213
+ * @param vects Number of source+dest vectors in array. Must be > 3.
214
214
* @param len Length of each vector in bytes. Must be 32B aligned.
215
215
* @param array Array of pointers to source and dest. For P+Q the dest
216
216
* is the last two pointers. ie array[vects-2],
@@ -228,7 +228,7 @@ int pq_gen_avx2(int vects, int len, void **array);
228
228
* @brief Checks that array of N sources, P and Q are consistent across all vectors.
229
229
* @requires SSE4.1
230
230
*
231
- * @param vects Number of vectors in array including P&Q.
231
+ * @param vects Number of vectors in array including P&Q. Must be > 3.
232
232
* @param len Length of each vector in bytes. Must be 16B aligned.
233
233
* @param array Array of pointers to source and P, Q. P and Q parity
234
234
are assumed to be the last two pointers in the array.
@@ -242,7 +242,7 @@ int pq_check_sse(int vects, int len, void **array);
242
242
243
243
/**
244
244
* @brief Generate P+Q parity vectors from N sources, runs baseline version.
245
- * @param vects Number of source+dest vectors in array.
245
+ * @param vects Number of source+dest vectors in array. Must be > 3.
246
246
* @param len Length of each vector in bytes. Must be 16B aligned.
247
247
* @param array Array of pointers to source and dest. For P+Q the dest
248
248
* is the last two pointers. ie array[vects-2],
@@ -258,7 +258,7 @@ int pq_gen_base(int vects, int len, void **array);
258
258
259
259
/**
260
260
* @brief Generate XOR parity vector from N sources, runs baseline version.
261
- * @param vects Number of source+dest vectors in array.
261
+ * @param vects Number of source+dest vectors in array. Must be > 2.
262
262
* @param len Length of each vector in bytes.
263
263
* @param array Array of pointers to source and dest. For XOR the dest is
264
264
* the last pointer. ie array[vects-1]. Src and dest pointers
@@ -273,7 +273,7 @@ int xor_gen_base(int vects, int len, void **array);
273
273
/**
274
274
* @brief Checks that array has XOR parity sum of 0 across all vectors, runs baseline version.
275
275
*
276
- * @param vects Number of vectors in array.
276
+ * @param vects Number of vectors in array. Must be > 1.
277
277
* @param len Length of each vector in bytes.
278
278
* @param array Array of pointers to vectors. Src and dest pointers
279
279
* must be aligned to 16B.
@@ -287,7 +287,7 @@ int xor_check_base(int vects, int len, void **array);
287
287
/**
288
288
* @brief Checks that array of N sources, P and Q are consistent across all vectors, runs baseline version.
289
289
*
290
- * @param vects Number of vectors in array including P&Q.
290
+ * @param vects Number of vectors in array including P&Q. Must be > 3.
291
291
* @param len Length of each vector in bytes. Must be 16B aligned.
292
292
* @param array Array of pointers to source and P, Q. P and Q parity
293
293
* are assumed to be the last two pointers in the array.
0 commit comments