feat: part2 and zip

This commit is contained in:
ytshih authored and ytshih committed 2026-10-05 09:17:57 +08:00
1 parent 948d16d378
commit 5cb0ad82bd
6 files changed
+36 -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];
}
}
}