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

EnerJ #54

Open
Jaefromkorea opened this issue Apr 13, 2019 · 3 comments
Open

EnerJ #54

Jaefromkorea opened this issue Apr 13, 2019 · 3 comments

Comments

@Jaefromkorea
Copy link

HIi Adrian,

Now I am able to produce executable file for all the benchmark.

I have a question with EnerJ.

I have read document about (https://bitbucket.org/adrian/enerj/src/9b49e10b9a8687c57bec6991e38f0895b9635959/README.md?at=default&fileviewer=file-view-default)

In enerJ i could simply change bit width of floating point with " passing -noisy to enerj to enable error injection in a simulated approximate program."

I was wondering is it possible to customize the floating point bit width??

the other question is that I do not quite understand how to inject error in accept compiler..

Could you please help me?

@sampsyo
Copy link
Member

sampsyo commented Apr 13, 2019

Great! What was the solution?

There is no built-in bit width reduction optimization. (You're welcome to build one yourself, of course!) I tried doing that a few times for ACCEPT, but here my goal was to get performance benefits on real, commodity hardware. To do that with bit width reduction, you need to save memory and bandwidth---which means you need to, for example, take a double array and make it take the same space as if it were declared as a float array. It's super hard to do that in a way that preserves pointer arithmetic! That's what makes this so much harder in C than in a memory-safe language like Java, for example.

@Jaefromkorea
Copy link
Author

I have very simple question. I am not really expert in approximate computing.
there are a lot of technique for floating point approximate computing.
How does exactly it work if you put appox float in Accpet compiler?
Thank you very much

@sampsyo
Copy link
Member

sampsyo commented Apr 15, 2019

Hi! This is actually a deceptively complex question. It's essentially the question that our paper seeks to answer. Have you read the ACCEPT techincal report that's linked from the documentation?

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