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

[Question] Redpiler on a GPU? #97

Open
ghost opened this issue Dec 9, 2022 · 3 comments
Open

[Question] Redpiler on a GPU? #97

ghost opened this issue Dec 9, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 9, 2022

Is it possible to make Redpiler utilize the GPU for even higher performance with something like Vulkano?

@Yey007
Copy link

Yey007 commented Jan 6, 2023

Hello :)

I think this sounds super cool. I'm new here and I don't know anything about the redpiler, so I don't know if this is possible. But I was thinking that if the weighted graph it generates can be represented as a linear system of equations it might be possible to solve on the GPU. I would have to think more about it and understand more about the redpiler though :)

Edit: now that I think about it time and delays will be a difficult thing to deal with. I'll have to think more about this.

@ghost
Copy link
Author

ghost commented Jan 6, 2023

Thank you for looking into it, if you create something, please let me now, I'm ready to compile and test it on my machine (Fedora Linux, Nvidia GPU)

@Yey007
Copy link

Yey007 commented Jan 18, 2023

Honestly, I've spent some time thinking about it, and this seems difficult to do on the GPU, at least the way I originally described it. Some components in redstone (like repeaters) inherently have non-linear outputs, and approximating them with a linear function didn't do any good for me.

If anyone has any ideas, please let me know! I'm not very well versed in math or CS, so input is appreciated.

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