GPU mining with Intel HD Graphics 4000 I am running Mac OS X 10.7 on a MBP and OS X 10.8 on a Mac Mini.  The Mini has a Intel HD Graphics 4000 GPU and the MBP has a 3000.

I know that I cannot mine with the MBP as the GPU does not support OpenCL.  The Mac Mini should be able to as the Intel HD 4000 supports OpenCL 1.2.

However when I run:

bfgminer -n
 [2013-12-04 15:35:22] 0 GPU devices max detected


My GPU is not detected.  I have the latest XCode installed as the well as command line tools and compiled bfgminer with the latest install of brew.

I just want to play around with mining and am not interested in buying an ASIC set up.

How can I get my GPU to be detected by bfgminer or cgminer?



Update:

When I run 'bfgminer --verbose' I get the following error:


  [2013-12-04 17:30:57] JSON-RPC call failed: {    "code": -1,
  "message": "Unsupported method 'getblocktemplate'" }
The following program will show you the OpenCL-capable devices on a given Macintosh:

// clang -framework OpenCL dumpcl.c -o dumpcl &amp;&amp; ./dumpcl

# include &lt;stdio.h&gt;
# include &lt;stdlib.h&gt;
# include &lt;OpenCL/opencl.h&gt;


int main(int argc, char* const argv[]) {
    cl_uint num_devices, i;
    clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, 0, NULL, &amp;num_devices);

    cl_device_id* devices = calloc(sizeof(cl_device_id), num_devices);
    clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, num_devices, devices, NULL);

    char buf[128];
    for (i = 0; i &lt; num_devices; i++) {
        clGetDeviceInfo(devices[i], CL_DEVICE_NAME, 128, buf, NULL);
        fprintf(stdout, "Device %s supports ", buf);

        clGetDeviceInfo(devices[i], CL_DEVICE_VERSION, 128, buf, NULL);
        fprintf(stdout, "%s\n", buf);
    }

    free(devices);
}


If it fails to show you your GPU then its a driver issue.If it succeeds then its some kind of a configuration error.