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

Parameters in param.json for mapping #10

Closed
StephanEnseleit opened this issue Feb 28, 2023 · 6 comments
Closed

Parameters in param.json for mapping #10

StephanEnseleit opened this issue Feb 28, 2023 · 6 comments

Comments

@StephanEnseleit
Copy link

Hello,
I am using the CGRA-Mapper combined with the param.json as a template as it can be found in the CGRA-Bench repository. But it seems like there are no real explanations given as to what each of the parameters is changing. I looked through the provided code here, but there also seem to be no comments. Could you please provide some descriptions to the parameters as, for example, the ones here: https://github.com/tancheng/CGRA-Bench/blob/master/kernels/gemm/param.json

Thank you very much in advance,
Stephan

@StephanEnseleit
Copy link
Author

On another note, does the basic CGRA architecture that is also used in the CGRA-Bench example above provide similar data pass-throughs as in the Hycube architecture? In Hycube, data can be transferred between processing elements on an array that are more than one step apart from each other in only a single cycle. Is this possible in OpenCGRA and is that what the "bypassConstraint" parameter refers to?

@tancheng
Copy link
Owner

tancheng commented Feb 28, 2023

Hi, the HyCUBE's single-cycle multi-hop is not modeled in this compiler and it might require non-trivial engineering effort to implement it. If you are only interested in HyCUBE related topic, you can look into morpher.

@StephanEnseleit
Copy link
Author

Thank you for the answer. I'm not only interest in HyCUBE, therefore it would be nice if you could explain the parameters in more detail.
Thank you

@tancheng
Copy link
Owner

Thanks for your interest. No problem. I will try to do it today~

@tancheng
Copy link
Owner

tancheng commented Mar 1, 2023

Thank you for the answer. I'm not only interest in HyCUBE, therefore it would be nice if you could explain the parameters in more detail. Thank you

The README is updated with the explanation on the param.json, feel free to ask if you have any other questions.

@StephanEnseleit
Copy link
Author

Thank you very much, makes it a lot clearer how to use the param.json!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants