anydsl
Halide
anydsl | Halide | |
---|---|---|
5 | 43 | |
98 | 5,714 | |
- | 0.5% | |
3.4 | 9.5 | |
2 months ago | 2 days ago | |
Shell | C++ | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
anydsl
- AnyDSL: Partial Evaluation Framework for Programming High-Performance Libraries
-
The trouble with SPIR-V, 2022 edition
I work on the AnyDSL research project, we have our own IR and optimizing compiler (Thorin), our framework supports partial evaluation and efficient codegen for the host as well as multiple compute offload targets (CUDA, OpenCL C, the NVVM and AMDGPU targets in LLVM), and I've been pursuing targeting SPIR-V as well.
-
A new programming language for high-performance computers
There is also this:
https://anydsl.github.io/
They have some framework that achieves high level compute!
-
Interesting Language / Architecture: AnyDSL + Impala (Add your comments + parallels in Rust?)
While waiting for std::simd to become a thing in stable and looking for alternatives I stumbled upon this: https://anydsl.github.io/
-
Compiler IR (well, IL) design question: Syntax for multiple function entry points?
I had a look at Impala previously. It describes itself as dialect of Rust, but somehow I'm not exactly happy with Rust syntax, but found Impala's much more cuter, up to actually bother to report a doc glitch to make it even more cuter to passers-by ;-). I understand that it's pretty hard to bootstrap a language nowadays, so understand that "any DSL" marketing niche, though I guess it wouldn't look bad if it was promoted as a general-purpose language either. I also understand that it's open-source, but I'm not rushing to look there, by various reasons, like complexity, copyright and possibility to pick up bad ideas ;-). Preferring to do "black box" studying by papers for now, so thanks again for the links.
Halide
-
Show HN: Flash Attention in ~100 lines of CUDA
If CPU/GPU execution speed is the goal while simultaneously code golfing the source size, https://halide-lang.org/ might have come in handy.
- Halide v17.0.0
-
From slow to SIMD: A Go optimization story
This is a task where Halide https://halide-lang.org/ could really shine! It disconnects logic from scheduling (unrolling, vectorizing, tiling, caching intermediates etc), so every step the author describes in the article is a tunable in halide. halide doesn't appear to have bindings for golang so calling C++ from go might be the only viable option.
-
Implementing Mario's Stack Blur 15 times in C++ (with tests and benchmarks)
Probably would have been much easier to do 15 times in https://halide-lang.org/
The idea behind Halide is that scheduling memory access patterns is critical to performance. But, access patterns being interwoven into arithmetic algorithms makes them difficult to modify separately.
So, in Halide you specify the arithmetic and the schedule separately so you can rapidly iterate on either.
- Making Hard Things Easy
-
Deepmind Alphadev: Faster sorting algorithms discovered using deep RL
It is not the sorting per-se which was improved here, but sorting (particularly short sequences) on modern CPUs with really the complexity being on the difficulty of predicting what will work quickly on these modern CPUs.
Doing an empirical algorithm search to find which algorithms fit well on modern CPUs/memory systems is pretty common, see e.g. FFTW, ATLAS, https://halide-lang.org/
-
Two-tier programming language
Halide https://halide-lang.org/
- Best book on writing an optimizing compiler (inlining, types, abstract interpretation)?
-
Blog Post: Can You Trust a Compiler to Optimize Your Code?
It doesn’t apply in this case, but in general if you really want the best vectorization I would suggest using https://halide-lang.org instead of trying to coerce your compiler.
-
What would make you try a new language?
If we drop the "APL" requirement, wouldn't Halide fit your criteria for the third?
What are some alternatives?
SPIRV-Cross - SPIRV-Cross is a practical tool and library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.
taichi - Productive, portable, and performant GPU programming in Python.
truenas-useful-scripts - A collection of scripts for TrueNAS to display useful information, do some reporting by email and backup the TrueNAS config.
futhark - :boom::computer::boom: A data-parallel functional programming language
toast - Time Ordered Astrophysics Scalable Tools
Image-Convolutaion-OpenCL
verified-scheduling
TensorOperations.jl - Julia package for tensor contractions and related operations
poudriere - Port/Package build and test system
triton - Development repository for the Triton language and compiler
phobos-next - Various generic reusable D code.
ponyc - Pony is an open-source, actor-model, capabilities-secure, high performance programming language