Do these i5/i7 MBAs support OpenCL?

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

  1. eeptman macrumors member

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

    Jul 21, 2011
    The OS X Lion's Tech Specifications said…

    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

    Aug 9, 2007
    OpenCL is supported on the CPU, but not the GPU.
  4. eeptman, Jul 24, 2011
    Last edited: Jul 24, 2011

    eeptman thread starter macrumors member

    Jul 21, 2011
    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?
  5. eeptman thread starter macrumors member

    Jul 21, 2011
  6. MRU macrumors demi-god


    Aug 23, 2005
    ^ Yes...

    Here is a link to the Xcode project:

    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 ;)
  7. eeptman thread starter macrumors member

    Jul 21, 2011
    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?
  8. KPOM macrumors G5

    Oct 23, 2010
    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.
  9. JD92, Jul 24, 2011
    Last edited: Feb 2, 2013

Share This Page