bogdanadnan / multiminer

cpuminer-opt fork with support for GPU mining for argon2d coins
GNU General Public License v2.0
25 stars 35 forks source link

Mismatch with device numbering #3

Closed Bathmat closed 5 years ago

Bathmat commented 5 years ago

There is a mismatch when the miner starts regarding device numbering. When the CL threads are being built, it shows them starting on one device number less than the device that was specified in the command line. However, the threads being used for mining are on the correct device. Example below was for --gpu-id=4:

[Device #1] OpenCL Device 'Intel(R) HD Graphics 630 ' (Intel(R) Corporation )
[Device #2] OpenCL Device 'Intel(R) Core(TM) i3-7350K CPU @ 4.20GHz ' (Intel(R) Corporation )
[Device #3] OpenCL Device 'Ellesmere ' (Advanced Micro Devices, Inc. )
[Device #4] OpenCL Device 'Ellesmere ' (Advanced Micro Devices, Inc. )
[Device #5] OpenCL Device 'Ellesmere ' (Advanced Micro Devices, Inc. )
[Device #6] OpenCL Device 'Ellesmere ' (Advanced Micro Devices, Inc. )
[Device #7] OpenCL Device 'Intel(R) Core(TM) i3-7350K CPU @ 4.20GHz ' (GenuineIntel )
Start mining on device #4.
[Thread 0] Device #3: OpenCL Device 'Ellesmere ' (Advanced Micro Devices, Inc. )