summaryrefslogtreecommitdiff
path: root/examples/“
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-11-13 11:00:59 -0700
committerTuowen Zhao <ztuowen@gmail.com>2016-11-13 11:00:59 -0700
commitd2f7e95d71918f89b43373d13c5f81cf5581eff8 (patch)
treeba5e2914f6721b67be2b25abceaf7115523f01c6 /examples/“
parent6766de6c893d5300bac773bbd654c5af06c2ab66 (diff)
downloadchill-d2f7e95d71918f89b43373d13c5f81cf5581eff8.tar.gz
chill-d2f7e95d71918f89b43373d13c5f81cf5581eff8.tar.bz2
chill-d2f7e95d71918f89b43373d13c5f81cf5581eff8.zip
cleanup
Diffstat (limited to 'examples/“')
-rw-r--r--examples/“24
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/“ b/examples/“
deleted file mode 100644
index 985ecaa..0000000
--- a/examples/“
+++ /dev/null
@@ -1,24 +0,0 @@
-// this source is derived from CHILL AST originally from file 'mm.c' as parsed by frontend compiler clang
-
-void mm(float **A, float **B, float **C, int ambn, int an, int bm) {
- int t6;
- int t4;
- int t2;
- int over1;
- over1 = 0;
- for (t2 = 0; t2 <= an - 1; t2 += 1)
- for (t4 = 0; t4 <= bm - 1; t4 += 1)
- C[t2][t4] = 0.0f;
- for (t2 = 0; t2 <= an - 1; t2 += 1)
- for (t4 = 0; t4 <= bm - 1; t4 += 1) {
- over1 = ambn % 4;
- for (t6 = 0; t6 <= -over1 + ambn - 1; t6 += 4) {
- C[t2][t4] += A[t2][t6] * B[t6][t4];
- C[t2][t4] += A[t2][t6 + 1] * B[t6 + 1][t4];
- C[t2][t4] += A[t2][t6 + 2] * B[t6 + 2][t4];
- C[t2][t4] += A[t2][t6 + 3] * B[t6 + 3][t4];
- }
- for (t6 = 0 < ambn - over1 ? ambn - over1 : 0; t6 <= ambn - 1; t6 += 1)
- C[t2][t4] += A[t2][t6] * B[t6][t4];
- }
-}