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

GPU support #4

Open
RodrigoHahn opened this issue Jan 21, 2018 · 0 comments
Open

GPU support #4

RodrigoHahn opened this issue Jan 21, 2018 · 0 comments

Comments

@RodrigoHahn
Copy link

First of all, thanks Avinash for sharing this project: the purpose is clear, the code is readable, plus it defers to JS (which is objectively the best programming language) - an all around win for everyone. However, I couldn't help but notice it might be lacking in the matter of optimization.

If you allow the metaphor, as much as V8 makes our regular, run-of-the-mill grazing-horse-of-a-code run as if it were on a whisky-and-crack-infused-wheat diet, I feel like we might be missing out on exploiting the next step in advanced sign-flipping tech.

I believe the generated code could be further optimized by mapping the sign-flipping operation into a texture transformation in GPU space. Have you toyed with this idea, and if so, what did you find out?

Once again, thank you for this awesome piece of tech.

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

1 participant