Comments (3)
Hi,
Yes Tiramisu can generate code that has array access bounds parametrized by function arguments. The loop bounds in Tiramisu can be any expression (as long as the loop bound is invariant to the loop body).
Generating the same schedule of gemm written by hand is still not supported in the autoscheduler. That schedule needs a much larger search space.
from tiramisu.
Yes Tiramisu can generate code that has array access bounds parametrized by function arguments. The loop bounds in Tiramisu can be any expression (as long as the loop bound is invariant to the loop body).
Can you point me to some example code that does this?
Generating the same schedule of gemm written by hand is still not supported in the autoscheduler. That schedule needs a much larger search space.
Makes sense. I would be planning to use it on non-blas kernels though, so is the expected performance good in those cases?
from tiramisu.
Yes, there is an example in the GEMM benchmark. The sizes are passed in SIZES and then used to initialize N, M and K: https://github.com/Tiramisu-Compiler/tiramisu/blob/master/benchmarks/linear_algebra/blas/level3/sgemm/cpu/sgemm_generator.cpp
For the autoscheduler, I think the only way to tell is to actually try it. We would be happy to learn about the results! In general, the closer the code is to randomly codes that we generate and the closer your hardware is to our hardware the more accurate the cost model is (this cost model was not trained for multiple hardware machines). We did our training on this cluster: http://groups.csail.mit.edu/commit/lanka/
from tiramisu.
Related Issues (20)
- W add autodiff like Halide?
- Will you plan to add autodiff like Halide? HOT 1
- Does tiramisu support FPGA as backend hardware now? HOT 3
- Is there any methods in Tiramisu for parallelizing or loop tiling that automatically resolves data dependency? HOT 3
- The link in the readme to a VirtualBox VM is broken HOT 1
- What's the difference between Tiramisu and TACO compiler HOT 1
- unstructured weight sparsity mentioned by the paper HOT 2
- Build a Python extention HOT 1
- Can I adjust the CPU core number in Tiramisu compiler? HOT 1
- Is there a possible way to limit the core number used of a generated tiramisu CPU kernel? HOT 8
- [Bug] CPU convolution sample in benchmark runfailed when setting BATCH_SIZE=1 HOT 1
- Deep Learning Based Cost Model HOT 2
- Trouble With Compiling Dependencies HOT 2
- No module named 'TiramisuCodeGenerator'
- How to implement XOR operator of a expression HOT 3
- Run distributed test HOT 1
- Any luck building the autoscheduler tutorial with the latest Halide
- Conversion from Tiramisu DSL to C Language For-loop Code HOT 1
- failed to build tiramisu HOT 1
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 tiramisu.