init: HW1
This commit is contained in:
commit
a6479e729f
19 files changed
+1197
No files matched your search
@@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user