Diablo-D3/DiabloMiner — Issue #35: Work size issues on Macbook Pro
Author: glitch003
Created: 2011-12-26 05:09:34+00:00
State: open

Hi, when I run diablominer, I get an error that the work size is 256 but the required work size is 512. But, if I try to set the work size to 512 with the -w flag, I get an error that the work size is greater than the device can support.

Here's the output without the -w option:
[12/26/11 12:04:00 AM] Started
[12/26/11 12:04:00 AM] Connecting to: http://api.bitcoin.cz:8332/
[12/26/11 12:04:00 AM] Using Apple OpenCL 1.1 (Jul 25 2011 15:56:07)
[12/26/11 12:04:00 AM] Added GeForce 9400M (#1) (2 CU, local work size of 256)
[12/26/11 12:04:01 AM] ERROR: [CL_INVALID_WORK_GROUP_SIZE] : OpenCL Error : clEnqueueNDRangeKernel failed: local_size[0] (256) != required local_size[0] (512)
[12/26/11 12:04:01 AM] ERROR: Failed to queue kernel, error -54

And here's the output with the flag -w 512:
[12/26/11 12:08:26 AM] Started
[12/26/11 12:08:26 AM] Connecting to: http://api.bitcoin.cz:8332/
[12/26/11 12:08:26 AM] Using Apple OpenCL 1.1 (Jul 25 2011 15:56:07)
[12/26/11 12:08:26 AM] Added GeForce 9400M (#1) (2 CU, local work size of 512)
[12/26/11 12:08:26 AM] ERROR: [CL_INVALID_WORK_GROUP_SIZE] : OpenCL Error : clEnqueueNDRangeKernel failed: total work group size (512) is greater than the device can support (256)
[12/26/11 12:08:26 AM] ERROR: Failed to queue kernel, error -54

How can I fix this and get diablominer working? Thanks!!