Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Affine and shareable functions #276

Open
rachitnigam opened this issue Nov 13, 2019 · 0 comments
Open

Affine and shareable functions #276

rachitnigam opened this issue Nov 13, 2019 · 0 comments
Labels
Discussion Needed Language features that need more discussion before implementation

Comments

@rachitnigam
Copy link
Member

This paragraph from the MachSuite paper:

FFT/TRANSPOSEis a prime candidate for optimization.Within each benchmark exists a vast design space MachSuiteusers can explore and optimize. Without guidance, Vivadosynthesizes distinct logic each time a function is invoked.However,FFT/TRANSPOSEhas distinct program phases, alter-nating between the execution of smaller FFTs and reorganizinginputs and partial products by shuffling arrays that are thenthe inputs to the same small FFT computations. Having non-overlapping phases ensures the FFT and shuffling logic can beshared, reducing the number of required instantiations of thesefunctions without affecting performance.

This implies that FFT can be optimized better by creating shareable instances for each function. We can use graded modal types to restrict the number of instances of a function.

@rachitnigam rachitnigam added the Discussion Needed Language features that need more discussion before implementation label Feb 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Needed Language features that need more discussion before implementation
Projects
None yet
Development

No branches or pull requests

1 participant