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

- SET CUDA_VISIBLE_DEVICES="1,2,3" #25

Open
luky76 opened this issue Feb 14, 2021 · 1 comment
Open

- SET CUDA_VISIBLE_DEVICES="1,2,3" #25

luky76 opened this issue Feb 14, 2021 · 1 comment

Comments

@luky76
Copy link

luky76 commented Feb 14, 2021

WHY this command not select those GPUS?

@quydau35
Copy link

Actually this features is not developed yet. You can only set your specific GPU device by hard code changing line 461 in secp256k1/src/autolykos.cu from
for (int i = 0; i < deviceCount; ++i)
to
for (int i = 0; i < deviceCount - 1; ++i)
to the amount of devices you wanna use (for me it is deviceCount - 1 because I want to omit one of my card). And try to compile the source code on your own.
I did it successfully.

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