djm34 / sgminer-msvc2015

sgminer-gm with msvc2015 support
GNU General Public License v3.0
22 stars 25 forks source link

Error -5: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel) #11

Closed mosincos closed 7 years ago

mosincos commented 7 years ago

Hi, I use sgminer to mine Zcoin(XZC), when I start .bat, it shows error:"Error -5: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel)", My card: AMD RX580 8G (Windows 10), Could you tell me how to fix that? thank you.

screenshot20170619115523

djm34 commented 7 years ago

it doesn't really help if you don't give the command line you used. However it is probably due to the fact you used a worksize larger than 32 (the default is larger), so you need to add --worksize 32 to the command line in your bat file

mosincos commented 7 years ago

Thank you it work! :D