feat: part2 and zip
This commit is contained in:
1 parent
948d16d378
commit
54a56ee8a0
7 files changed
+41
-4
No files matched your search
+2
-3
@@ -11,9 +11,8 @@ void test2(float *__restrict a, float *__restrict b, float *__restrict c, int N)
|
||||
for (int j = 0; j < N; j++)
|
||||
{
|
||||
/* max() */
|
||||
c[j] = a[j];
|
||||
if (b[j] > a[j])
|
||||
c[j] = b[j];
|
||||
if (b[j] > a[j]) c[j] = b[j];
|
||||
else c[j] = a[j];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user