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

Feature request: Option for device enumeration based on OpenCL device order #18

Open
UselessGuru opened this issue Jun 10, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@UselessGuru
Copy link

commented Jun 10, 2019

Currently Gminer sorts the devices by PCI busID.
Unfortunately the PCI BusID information is not available through the OpenCL API which, as a consequence, breaks proper integration on MultiPoolMiner based software (e.g. MultipoolMiner, Nemos Miner etc.).
Could you please add an option (e.g. --deviceOrder OpenCL) which will allow GMiner to sort the devices based on OpenCL device ID?

OpenCL device order in my case is:

GPU#00 GeForce GTX 1080 Ti
GPU#01 GeForce GTX 1060 6GB
GPU#02 Radeon RX 580 Series (Ellesmere)
GPU#03 AMD Radeon (TM) RX 560 (Baffin)

Gminer now:

miner.exe --list_devices
GPU0: ASUS GeForce GTX 1080 Ti 11GB PCI: 0000:01:00.0
GPU1: MSI GeForce GTX 1060 6GB      PCI: 0000:04:00.0
GPU2: AMD Radeon (TM) RX 560 2GB    PCI: 0000:05:00.0
GPU3: MSI Radeon RX 580 Series 8GB  PCI: 0000:09:00.0

Preferred result:

miner.exe --list_devices --deviceOrder OpenCL
GPU0: ASUS GeForce GTX 1080 Ti 11GB PCI: 0000:01:00.0
GPU1: MSI GeForce GTX 1060 6GB      PCI: 0000:04:00.0
GPU2: MSI Radeon RX 580 Series 8GB  PCI: 0000:09:00.0
GPU3: AMD Radeon (TM) RX 560 2GB    PCI: 0000:05:00.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.