Tullio is a very flexible einsum macro. It understands many array operations written in index notation -- not just matrix multiplication and permutations, but also convolutions, stencils, scatter/gather, and broadcasting. Used by itself the macro writes ordinary nested loops much like Einsum.@einsum. One difference is that it can parse more expressions, and infer ranges for their indices. Another is that it will use multi-threading (via Threads.@spawn) and recursive tiling, on large enough arrays.
Features
- It uses LoopVectorization.@avx to speed many things up
- It uses KernelAbstractions.@kernel to make a GPU version
- The macro also tries to provide a gradient for use with Tracker
- The entire right hand side is summed over the full possible range of any indices not appearing on the left
- Co-operates with various other packages
- One difference is that it can parse more expressions
Categories
Data VisualizationLicense
MIT LicenseFollow Tullio.jl
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Tullio.jl!