feat: part2 and zip

This commit is contained in:
ytshih committed 2026-10-05 09:13:57 +08:00
1 parent 948d16d378
commit 54a56ee8a0
7 files changed
+41 -4

No files matched your search

+2 -3
View File
@@ -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];
}
}
}