Comments (7)
The Clan frontend can't parse the declaration inside. You can use the Pet frontend (--pet) to deal with it. However, you'll run into another issue with the accesses (i*n_a_rows+k and others will be seen as non-affine ones) since there's no dimension lifting / delinearization support. So you'll have to use 2-d arrays if you want the dependence analysis here to work (i.e., m[i][j] += a[i][k]*b[k][j]).
from pluto.
$ polycc --pet --tile --parallel matmul.c -o matmul
/stuff/pluto/src/pluto: unrecognized option '--pet'
from pluto.
The --pet option is only available in the 'pet' branch of the git. (You'll also need LLVM/Clang 3.4 for this). In any case, if it's rewritten in a way such that those accesses become affine, you'll be able to run it even without --pet.
from pluto.
Then why are things like this in the master branch?
from pluto.
Thanks for reporting - fixed.
from pluto.
There are a couple more of those: https://github.com/bondhugula/pluto/search?utf8=%E2%9C%93&q=--pet&type=
from pluto.
Including benchmarks that needed --pet in the master branch was an oversight as well. Dropped now. Thanks.
from pluto.
Related Issues (20)
- Loop Unrolling and Scalar Replacement (Register-level Tiling) HOT 2
- [Only QUERY] Any plan to update Pluto for LLVM 18.x release? HOT 1
- Can I compile pluto without -fopenmp? HOT 2
- error running make (pet): invalid use of incomplete type 'class clang::Builtin::Context HOT 4
- Compilation error and solution HOT 4
- Diamond tiling helper function cone complement hyperplane doesn't have a GLPK path
- getting errors trying to parallelize my code HOT 1
- build candl error happend when make HOT 1
- difference between cut_smart and cut_conservative HOT 7
- What compiler can I use to compile pluto? HOT 15
- Fix build configuration to properly build test_libpluto and unit_tests
- OpenScop's scatter function semantics? HOT 1
- Error running make (on pet.lo) HOT 2
- while using "make -j4", the process fails. HOT 2
- Error when unrolling HOT 4
- Error in building pluto dev version HOT 1
- problem in configure and make HOT 2
- A starter Dockerfile for pluto
- build failing for cloog-isl with error message: /usr/bin/texi2dvi: pdfetex exited with bad status, quitting. make[3]: *** [Makefile:2301: doc/cloog.pdf] Error 1 HOT 3
- pet build error: /usr/include/c++/9/bits/stl_tree.h:785:8: error: static assertion failed: comparison object must be invocable as const HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pluto.