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

+4 -1
View File
@@ -1,7 +1,10 @@
#include "test.h"
void test1(float *a, float *b, float *c, int N) {
void test1(float *__restrict a, float *__restrict b, float *__restrict c, int N) {
__builtin_assume(N == 1024);
a = (float *)__builtin_assume_aligned(a, 32);
b = (float *)__builtin_assume_aligned(b, 32);
c = (float *)__builtin_assume_aligned(c, 32);
for (int i=0; i<I; i++) {
for (int j=0; j<N; j++) {