Do these i5/i7 MBAs support OpenCL?

Discussion in 'MacBook Air' started by eeptman, Jul 24, 2011.

  1. macrumors member

    Joined:
    Jul 21, 2011
    #1
    Does anyone know if the latest MBAs support OpenCL? Thanks.
     
  2. thread starter macrumors member

    Joined:
    Jul 21, 2011
    #2
    The OS X Lion's Tech Specifications said…

    ...
    OpenCL
    requires one of the following graphics cards or graphics processors:

    • NVIDIA GeForce 320M, GeForce GT 330M, GeForce 9400M, GeForce 9600M GT, GeForce 8600M GT, GeForce GT 120, GeForce GT 130, GeForce GTX 285, GeForce 8800 GT, GeForce 8800 GS, Quadro FX 4800, Quadro FX5600

    • ATI Radeon HD 4670, ATI Radeon HD 4850, Radeon HD 4870, ATI Radeon HD 5670, ATI Radeon HD 5750, ATI Radeon HD 5770, ATI Radeon HD 5870

    • AMD Radeon HD 6750M, AMD Radeon HD 6770M, AMD Radeon HD 6970M

    ...

    Does it mean the latest MBA won't be able to support OpenCL feature? :confused:
     
  3. rds
    macrumors regular

    Joined:
    Aug 9, 2007
    #3
    OpenCL is supported on the CPU, but not the GPU.
     
  4. macrumors 6502a

    Joined:
    Jan 7, 2009
  5. eeptman, Jul 24, 2011
    Last edited: Jul 24, 2011

    thread starter macrumors member

    Joined:
    Jul 21, 2011
    #5
    huh… I do not quite understand it. If OpenCL is only supported by CPU , why would the specification detail these graphic cards as requirement?

    Is the Sandy bridge i5/i7 in MBA able to cooperate with Intel HD 3000 to execute OpenCL feature?
     
  6. thread starter macrumors member

    Joined:
    Jul 21, 2011
    #6
  7. MRU
    macrumors demi-god

    MRU

    Joined:
    Aug 23, 2005
    Location:
    Ireland
    #7
    ^ Yes...



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


    Results from a MBP 13 HD3000

    OpenCL supported but no GPU support so the CPU is working alongside the CPU/GPU to provide OpenCL.. Not sure the benefits of this - but at least it's supported.



    User with low end 15" 2011 MBP

    So despite the dedicated GPU the 6490M is not OpenCL compatible.


    And a High End 15" result



    So the high end 15" gets compute unit score of 5, the HD3000 MBP 13 (so should be same for MBA 2011) = 4 and the 15" with 6490M gets a compute score of 2.....

    If any of this makes sense then it should mean the MBA 2011 are ok ;)
     
  8. thread starter macrumors member

    Joined:
    Jul 21, 2011
    #8
    Here comes my result w/ Xcode 4.1.

    2011-07-24 07:58:22.049 TestOpenCL[1074:707] No GPU support!
    2011-07-24 07:58:22.050 TestOpenCL[1074:707] Vendor = Intel
    2011-07-24 07:58:22.051 TestOpenCL[1074:707] Device = Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz
    2011-07-24 07:58:22.051 TestOpenCL[1074:707] Profile = FULL_PROFILE
    2011-07-24 07:58:22.052 TestOpenCL[1074:707] Version = OpenCL 1.1
    2011-07-24 07:58:22.052 TestOpenCL[1074:707] Image support = YES
    2011-07-24 07:58:22.053 TestOpenCL[1074:707] Compute units = 4

    The Image support is Yes. So… will the latest MBA be benefit from OpenCL?
     
  9. macrumors G4

    Joined:
    Oct 23, 2010
    #9
    The Sandy Bridge i5/i7 will run code that was written in OpenCL. However, it doesn't gain one of the benefits of OpenCL, which is offloading tasks to the GPU that the CPU normally would perform.
     
  10. JD92, Jul 24, 2011
    Last edited: Feb 2, 2013

    macrumors 6502a

    JD92

    Joined:
    Apr 14, 2005

Share This Page