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

Is it possible to adapt bitcoin-tool for GPU computing? #45

Open
PsyShark opened this issue Aug 28, 2020 · 2 comments
Open

Is it possible to adapt bitcoin-tool for GPU computing? #45

PsyShark opened this issue Aug 28, 2020 · 2 comments

Comments

@PsyShark
Copy link

Is it possible to adapt bitcoin-tool for GPU computing (Nvidia and AMD)?

@hamnaz
Copy link

hamnaz commented Jan 13, 2021

Is it possible to adapt bitcoin-tool for GPU computing ?

@matja
Copy link
Owner

matja commented May 1, 2021

It is possible to use a GPU for batch operations, it would make it far more complex. I haven't planned any work on it so far.

For single inputs, I imagine using a GPU would be far slower because of the compute-shader/library initialisation overheads.

I'm assuming GPU support is being suggested to accelerate operations, can you describe the typical operation (command line?) of needing better performance, so to require a GPU?

Bit of background why GPU was not considered so far: I intended the project to be a minimal+correct+safe implementation of transforming bitcoin addresses and keys in C, with as few external dependencies as possible, so that it could be used on as many platforms as possible, including embedded devices (thinking of microcontrollers).

I think an OpenCL implementation would be best for portability, and to make it modular so that it can be easily enabled/disabled at build time so the project can still meet its goals.

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

3 participants