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

Command args - only run on specified GPUs #13

Closed
calvintam236 opened this issue Sep 16, 2017 · 8 comments
Closed

Command args - only run on specified GPUs #13

calvintam236 opened this issue Sep 16, 2017 · 8 comments

Comments

@calvintam236
Copy link

It seems there is no way to assign which GPU(s) to be used for each process. It should support to run only on specific CUDA device by command args, e.g. --cuda-devices 0 1.

@rs2pt
Copy link

rs2pt commented Sep 19, 2017

Hi. I am just not using xmrig because I can't assign GPU. :-/
but I love it

@xmrig
Copy link
Owner

xmrig commented Sep 19, 2017

It supported, but now only via config file, place config.json file near executable of specify path to file via command line option -c, on first run config will updated, with initial auto configuration options (may not best) then you can change anything. Thank you,

@rs2pt
Copy link

rs2pt commented Sep 19, 2017 via email

@calvintam236
Copy link
Author

Please add support via command args. Other miners, e.g. ethminer, all have this option.

@rs2pt
Copy link

rs2pt commented Sep 19, 2017

Hi calvintam236, I found it quite easy and helps to keep the command line args a bit cleaner. :-)

@calvintam236
Copy link
Author

However, I am running it on Docker. Editing/Deploying with a file in the docker container is not as easy and friendly as you think.

@rs2pt
Copy link

rs2pt commented Sep 20, 2017 via email

@xmrig
Copy link
Owner

xmrig commented Oct 2, 2017

Merge with #11

@xmrig xmrig closed this as completed Oct 2, 2017
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