Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

README.md: Add information about ordering CUDA devices. #1162

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,25 @@ Licensed under the [GNU General Public License, Version 3](LICENSE).

No, use geth, the go program made for ethereum by ethereum.

9. CUDA GPU order changes sometimes. What can I do?

There is an environment var `CUDA_DEVICE_ORDER` which tells the Nvidia CUDA driver how to enumerates the graphic cards.
Following values are valid:
* FASTEST_FIRST (Default) - causes CUDA to guess which device is fastest using a simple heuristic.
* PCI_BUS_ID - orders devices by PCI bus ID in ascending order.

To prevent some unwanted changes in the order of your CUDA devices you **might set the environment to `PCI_BUS_ID`**.
This can be done:
* linux:
* Adapt /etc/environment file and add a line `CUDA_DEVICE_ORDER=PCI_BUS_ID`
* Adapt your start script launching ethminer and add a line `export CUDA_DEVICE_ORDER=PCI_BUS_ID`

* windows:
* Adapt your environment using the control panel (just search `setting environment windows control panel` using your favorite searchengine)
* Adapt your start (.bat) file launching ethminer and add a line `setx CUDA_DEVICE_ORDER=PCI_BUS_ID` or `set CUDA_DEVICE_ORDER=PCI_BUS_ID`
* For more details about `setx` and `set` see:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/setx



[Amazon S3 is needed]: https://docs.travis-ci.com/user/uploading-artifacts/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only need 1 of the 2 things listed.
These are options, not steps right?

Expand Down