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

Could you open source code of making latency lookup tables? #2

Open
touchdreamer opened this issue Oct 10, 2020 · 2 comments
Open

Could you open source code of making latency lookup tables? #2

touchdreamer opened this issue Oct 10, 2020 · 2 comments

Comments

@touchdreamer
Copy link

No description provided.

@AberHu
Copy link
Owner

AberHu commented Oct 10, 2020

Hi, please refer to make_lat_lut_example.py. It is an example script to make latency lookup tables. Due to the fine-grained width search, we enumerate all possible width choices, which is time consuming especially for CPUs. You can also enumerate width choices every 8 steps and make interpolation for other choices as a rough approximation, referring to the comments in the script.

Note, before running the script, please set the number of threads for OpenMP and MKL to 1 and 1, respectively.

@touchdreamer
Copy link
Author

Thanks a lot.

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