OpenCL on new 13" MacBook Pro with Intel HD 3000 graphics

Discussion in 'MacBook Pro' started by dtodor, Mar 17, 2011.

  1. dtodor macrumors member

    Joined:
    Nov 10, 2009
    #1
    Could someone please compile and run the following test program on a new 13" MacBook Pro with the Intel HD 3000 graphics. The program prints some information about the OpenCL capabilities of the hardware. Please post the output of the console in this thread.

    Here is a link to the Xcode project: http://dl.dropbox.com/u/5061095/TestOpenCL.zip
     
  2. mautly macrumors newbie

    Joined:
    Mar 25, 2011
    #2
    No GPU support

    2011-03-25 14:04:26.650 TestOpenCL[3187:903] No GPU support!
    2011-03-25 14:04:26.652 TestOpenCL[3187:903] Vendor = Intel
    2011-03-25 14:04:26.652 TestOpenCL[3187:903] Device = Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz
    2011-03-25 14:04:26.652 TestOpenCL[3187:903] Profile = FULL_PROFILE
    2011-03-25 14:04:26.653 TestOpenCL[3187:903] Version = OpenCL 1.0
    2011-03-25 14:04:26.653 TestOpenCL[3187:903] Image support = YES
    2011-03-25 14:04:26.653 TestOpenCL[3187:903] Compute units = 4
     
  3. dtodor thread starter macrumors member

    Joined:
    Nov 10, 2009
    #3
    Thanks! So indeed no real OpenCL support on the new 13" MBP.
     
  4. Bkraft macrumors newbie

    Joined:
    Apr 15, 2011
    Location:
    Charlotte, NC
    #4
    2011-04-17 00:25:02.109 TestOpenCL[14925:903] Vendor = AMD
    2011-04-17 00:25:02.111 TestOpenCL[14925:903] Device = ATI Radeon HD 6490M
    2011-04-17 00:25:02.111 TestOpenCL[14925:903] Profile = FULL_PROFILE
    2011-04-17 00:25:02.111 TestOpenCL[14925:903] Version = OpenCL 1.0
    2011-04-17 00:25:02.111 TestOpenCL[14925:903] Image support = NO
    2011-04-17 00:25:02.112 TestOpenCL[14925:903] Compute units = 2
    logout


    I was curious about this for my model of MBP, the low end 2011 15.4". If I did this correctly, here are the results just as an FYI and a thank you for your code
     
  5. hmg macrumors member

    hmg

    Joined:
    Apr 17, 2004
    Location:
    Sydney Australia
    #5
    Just for ***** & giggles:

    An Aluminium Unibody MacBook 2.0GHz, 4GB RAM, Nvidia 9400m:

    2011-04-18 00:12:46.939 TestOpenCL[2038:a0f] Vendor = NVIDIA
    2011-04-18 00:12:46.943 TestOpenCL[2038:a0f] Device = GeForce 9400M
    2011-04-18 00:12:46.944 TestOpenCL[2038:a0f] Profile = FULL_PROFILE
    2011-04-18 00:12:46.944 TestOpenCL[2038:a0f] Version = OpenCL 1.0
    2011-04-18 00:12:46.945 TestOpenCL[2038:a0f] Image support = YES
    2011-04-18 00:12:46.946 TestOpenCL[2038:a0f] Compute units = 2

    :)

    I'd like to see the output for an AMD 9750....
     
  6. Bkraft macrumors newbie

    Joined:
    Apr 15, 2011
    Location:
    Charlotte, NC
    #6
    this is interesting. As a follow up I ran another openCL check after running 10.7 Developer preview and Xcode 4.1 dp3. Here's the readout:

    2011-04-21 04:16:33.998 TestOpenCL[2112:707] Vendor = AMD
    2011-04-21 04:16:34.000 TestOpenCL[2112:707] Device = ATI Radeon HD 6490M
    2011-04-21 04:16:34.001 TestOpenCL[2112:707] Profile = FULL_PROFILE
    2011-04-21 04:16:34.002 TestOpenCL[2112:707] Version = OpenCL 1.1
    2011-04-21 04:16:34.002 TestOpenCL[2112:707] Image support = YES
    2011-04-21 04:16:34.003 TestOpenCL[2112:707] Compute units = 2
     
  7. dtodor, Apr 21, 2011
    Last edited: Apr 21, 2011

    dtodor thread starter macrumors member

    Joined:
    Nov 10, 2009
    #7
    Could someone run the test on a 13" MBP running the latest build of Lion. Maybe Apple is updating the HD 3000 drivers, who knows :)

    By the way, I have run the test on a high end 15" MBP with the AMD 6750 and these are the results:

    Vendor = AMD
    Device = ATI Radeon HD 6750M
    Profile = FULL_PROFILE
    Version = OpenCL 1.0
    Image support = NO
    Compute units = 5

    Still no image support under Snow Leopard, but it seems that Apple will fix this with Lion.
     
  8. SidGabriel macrumors newbie

    Joined:
    Aug 1, 2011
    #8
    11" MacBook Air Running Lion

    2011-08-01 20:19:27.955 TestOpenCL[648:707] No GPU support!
    2011-08-01 20:19:27.957 TestOpenCL[648:707] Vendor = Intel
    2011-08-01 20:19:27.958 TestOpenCL[648:707] Device = Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
    2011-08-01 20:19:27.958 TestOpenCL[648:707] Profile = FULL_PROFILE
    2011-08-01 20:19:27.959 TestOpenCL[648:707] Version = OpenCL 1.1
    2011-08-01 20:19:27.960 TestOpenCL[648:707] Image support = YES
    2011-08-01 20:19:27.961 TestOpenCL[648:707] Compute units = 4


    QuartzComposer compositions that utilize the opencl patch don't seem to run at all.
     
  9. campari macrumors newbie

    Joined:
    Aug 17, 2011
    #9
    OpenCL available?

    I haven't already understood if or if not OpenCL is available on Intel HD 3000. Can anybody clarify that to me?
     
  10. Menge macrumors 6502a

    Menge

    Joined:
    Dec 22, 2008
    Location:
    Amsterdam
    #10
    From the MacBook Air results above: No, the Intel HD 3000 doesn't support OpenCL.

    My 13" MacBook Pro (with an Intel HD 3000) on 10.6.8 says no to OpenCL as well.

    But not to worry. My benchmarks (using LuxMark) indicate that the Core i5 CPU in the 13" MacBook Pro is twice as fast as the CPU in the C2D Aluminum MacBook and 10x as fast as the 9400M in the C2D Aluminium MacBook. So having OpenCL support doesn't mean it's gonna be much faster.
     
  11. Tutorer macrumors member

    Joined:
    Jun 9, 2011
    #11
    The indications are that the Intel HD 3000 is not fully OpenCL compliant. I get that from these documents:
    http://www.apple.com/finalcutpro/specs/
    http://support.apple.com/kb/HT4664

    The implication is that applications that rely on OpenCL may run, may run unreliably or may not run at all.

    The safe route to go as of today is that if you need OpenCL capability you buy a machine with a supported ATi or nvidia card.

    Be well.
     
  12. fitfot macrumors newbie

    Joined:
    Sep 17, 2011
    #12
    13" 2011 MBP, cheap configuration (with SSD upgrade):

    2011-09-17 20:56:53.823 TestOpenCL[701:707] No GPU support!
    2011-09-17 20:56:53.824 TestOpenCL[701:707] Vendor = Intel
    2011-09-17 20:56:53.825 TestOpenCL[701:707] Device = Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz
    2011-09-17 20:56:53.826 TestOpenCL[701:707] Profile = FULL_PROFILE
    2011-09-17 20:56:53.826 TestOpenCL[701:707] Version = OpenCL 1.1
    2011-09-17 20:56:53.827 TestOpenCL[701:707] Image support = YES
    2011-09-17 20:56:53.827 TestOpenCL[701:707] Compute units = 4
     
  13. callea macrumors regular

    callea

    Joined:
    Jul 26, 2011
    Location:
    Italy
  14. warlord macrumors newbie

    Joined:
    Nov 9, 2011
    #14
    Cl_invalid_work_group_size

    Hi everyone,

    Would like to know if someone has tried to set workGroupSize to a value greater than 1 in the new macbook air shipped with core i5-2467M. Cause i just can't.
     
  15. DESNOS macrumors 6502

    Joined:
    Aug 24, 2011
    #15
    Yes, it's called Mac OS X. Apple tends to make use of technologies they add.
     
  16. mrubioroy macrumors newbie

    Joined:
    Aug 11, 2010
    #16
    On a MacBookPro 8,1 with Mac OS X 10.8 (Mountain Lion) your program outputs:
    Code:
    2012-09-05 16:10:08.059 TestOpenCL[44960:303] No GPU support!
    2012-09-05 16:10:08.061 TestOpenCL[44960:303] Vendor = Intel
    2012-09-05 16:10:08.061 TestOpenCL[44960:303] Device = Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
    2012-09-05 16:10:08.062 TestOpenCL[44960:303] Profile = FULL_PROFILE
    2012-09-05 16:10:08.063 TestOpenCL[44960:303] Version = OpenCL 1.2 
    2012-09-05 16:10:08.063 TestOpenCL[44960:303] Image support = YES
    2012-09-05 16:10:08.064 TestOpenCL[44960:303] Compute units = 4
    This other program:
    http://stackoverflow.com/a/7898347
    outputs:
    Code:
    Device Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz supports OpenCL 1.2
    It is the CPU that supports OpenCL. The HD3000 GPU does not.

    Miguel
     

Share This Page