init: HW1

This commit is contained in:
ytshih authored and ytshih committed 2026-10-05 06:06:40 +08:00
commit f9ee622fb8
17 files changed
+1197

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#include "test.h"
void test1(float *a, float *b, float *c, int N) {
__builtin_assume(N == 1024);
for (int i=0; i<I; i++) {
for (int j=0; j<N; j++) {
c[j] = a[j] + b[j];
}
}
}