Diablo-D3 / DiabloMiner

OpenCL miner for Bitcoin
https://bitcointalk.org/index.php?topic=1721.0
GNU General Public License v3.0
538 stars 217 forks source link

ERROR: Failed to queue kernel, error 54 (16 CU, local work size of 512) #56

Closed ghost closed 11 years ago

ghost commented 11 years ago

OS: 10.8.3 ( 12D68 ) Videocard: GeForce GTS 250 OverClock Edition 1GB

[23.02.13 2:51:49] Started

[23.02.13 2:51:49] Connecting to: http://pool.50btc.com:8332/

[23.02.13 2:51:50] Using Apple OpenCL 1.2 (Dec  4 2012 18:26:30)

[23.02.13 2:51:50] Added GeForce GTS 250 (#1) (16 CU, local work size of 512)
Waiting...

[23.02.13 2:51:51] ERROR: [CL_INVALID_WORK_GROUP_SIZE] : OpenCL Error : clEnqueueNDRangeKernel failed: local_size[0] (512) != required local_size[0] (64)
Waiting...

[23.02.13 2:51:51] ERROR: Failed to queue kernel, error -54
ghost commented 11 years ago

https://developer.nvidia.com/cuda-downloads

FrederickGeek8 commented 11 years ago

The easy way to fix this is to specify a work size (-w 256/128/64)

ghost commented 11 years ago

@FrederickGeek8, download last version build on official site. but doesn't support big worksize, only max:64 .....

http://adterrasperaspera.com/images/DiabloMiner.zip 11-Feb-2013 06:01 5.6M

Old Build :8ball: / My videocard: http://www.gigabyte.com/products/product-page.aspx?pid=3113 Maybe possible run on 512/720/1024 ?

FrederickGeek8 commented 11 years ago

The workload is dependent on the video card. My ATI supports 256

Diablo-D3 commented 11 years ago

What OS are you on? DiabloMiner defaults to what the driver tells it the maximum is. I've only seen this bug on OSX, and the only way to fix it is to manually use a lower -w, such as 64

ghost commented 11 years ago

@Diablo-D3 Videocard PC version P.S. patched kernel support my videocard

Diablo-D3 commented 11 years ago

Oh wait, you ARE on OSX then. Yes, this is a problem with OSX drivers. They say one thing, and then do another. Apple has no interest in fixing this bug no matter how many times they've been told (apparently they only listen if you PAY them to listen).

ghost commented 11 years ago

@Diablo-D3

Bug report tracker: http://developer.apple.com/bugreporter

Diablo-D3 commented 11 years ago

Yes, I'm aware of that. They don't care unless you're a special AAA developer.

Macarse commented 11 years ago

This error is shown when running in a mac book pro retina display. Adding -w 1024 fixes the issue.

Diablo-D3 commented 11 years ago

This should no longer occur, please reopen if it does.