diff options
| author | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-11-02 06:08:39 +0000 |
|---|---|---|
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-11-02 06:08:39 +0000 |
| commit | 41b20a62c926f7b8b68d5fcff18dbf43faab28c2 (patch) | |
| tree | 2fcb6954b2ee72925111d572edc9018e985921c0 /polly/test/CodeGen/pluto_matmult.c | |
| parent | acc748b2b572ab3106665fcb16ed669b29c213a6 (diff) | |
| download | bcm5719-llvm-41b20a62c926f7b8b68d5fcff18dbf43faab28c2.tar.gz bcm5719-llvm-41b20a62c926f7b8b68d5fcff18dbf43faab28c2.zip | |
Tests: move content of .c files in .ll
llvm-svn: 167283
Diffstat (limited to 'polly/test/CodeGen/pluto_matmult.c')
| -rw-r--r-- | polly/test/CodeGen/pluto_matmult.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/polly/test/CodeGen/pluto_matmult.c b/polly/test/CodeGen/pluto_matmult.c deleted file mode 100644 index 898612fab6a..00000000000 --- a/polly/test/CodeGen/pluto_matmult.c +++ /dev/null @@ -1,36 +0,0 @@ -#define M 2048 -#define N 2048 -#define K 2048 -#define alpha 1 -#define beta 1 -double A[M][K+13]; -double B[K][N+13]; -double C[M][N+13]; - -void init_array(); -void print_array(); - -void pluto_matmult(void) { - int i, j, k; - - __sync_synchronize(); - for(i=0; i<M; i++) - for(j=0; j<N; j++) - for(k=0; k<K; k++) - C[i][j] = beta*C[i][j] + alpha*A[i][k] * B[k][j]; - __sync_synchronize(); -} - -int main() -{ - register double s; - - init_array(); - -#pragma scop - pluto_matmult(); -#pragma endscop - print_array(); - - return 0; -} |

