This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/4] Graphite code generation for OpenCL.
- From: Sebastian Pop <sebpop at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: gcc-graphite at googlegroups dot com, amonakov at ispras dot ru, kayrick at ispras dot ru, abel at ispras dot ru, basile at starynkevitch dot net, grosser at fim dot uni-passau dot de, Sebastian Pop <sebpop at gmail dot com>
- Date: Sat, 25 Dec 2010 00:26:49 -0600
- Subject: [PATCH 0/4] Graphite code generation for OpenCL.
- References: <AANLkTin7WKNXs6KXHNUFVuNaU7N6huccG2cjUqdZJDYi@mail.gmail.com>
Hi,
I went over the patches submitted by Alexey and Alexander:
Make some of the graphite functions from graphite-clast-to-gimple.c
exposed for the new files.
Conservatively estimate subscript upper bound from the loop iteration
domain.
Code generation for OpenCL.
and I made some stylistic changes (reducing the number of warnings of
the script contrib/check_GNU_style.sh). I also have corrected some
problems occuring when configuring with CLooG.org:
Make it bootstrap with CLooG.org.
The result is that the graphite branch passed bootstrap with all these
patches on amd64-linux. I am installing these patches in the graphite
branch. We will need some testcases that will exercise this new code
generation, and I'll set up one of the testing machines to test every
commit to the graphite branch with the new flags.
Thanks again for your contribution, and merry Christmas!
Sebastian
gcc/ChangeLog.graphite | 70 +
gcc/Makefile.in | 28 +
gcc/common.opt | 32 +
gcc/dbgcnt.def | 1 +
gcc/graphite-clast-to-gimple.c | 113 +-
gcc/graphite-clast-to-gimple.h | 71 +
gcc/graphite-cloog-compat.h | 30 +
gcc/graphite-dependences.c | 130 ++-
gcc/graphite-dependences.h | 3 +
gcc/graphite-opencl-codegen.c | 1922 +++++++++++++++++++++++++
gcc/graphite-opencl-meta-clast.c | 784 ++++++++++
gcc/graphite-opencl.c | 2913 ++++++++++++++++++++++++++++++++++++++
gcc/graphite-opencl.h | 254 ++++
gcc/graphite.c | 6 +
gcc/tree-ssa-loop.c | 3 +-
15 files changed, 6286 insertions(+), 74 deletions(-)
create mode 100644 gcc/graphite-opencl-codegen.c
create mode 100644 gcc/graphite-opencl-meta-clast.c
create mode 100644 gcc/graphite-opencl.c
create mode 100644 gcc/graphite-opencl.h