PDA

View Full Version : Do these i5/i7 MBAs support OpenCL?




eeptman
Jul 24, 2011, 07:04 AM
Does anyone know if the latest MBAs support OpenCL? Thanks.



eeptman
Jul 24, 2011, 07:40 AM
The OS X Lion's Tech Specifications (http://support.apple.com/kb/SP629) 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:

rds
Jul 24, 2011, 07:48 AM
OpenCL is supported on the CPU, but not the GPU.

neteng101
Jul 24, 2011, 07:54 AM
GPU OpenCL might be coming with Ivy Bridge for Intel IGPs...

http://www.anandtech.com/show/4318/intel-roadmap-ivy-bridge-panther-point-ssds

eeptman
Jul 24, 2011, 07:58 AM
OpenCL is supported on the CPU, but not the GPU.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?

eeptman
Jul 24, 2011, 08:04 AM
GPU OpenCL might be coming with Ivy Bridge for Intel IGPs...

http://www.anandtech.com/show/4318/intel-roadmap-ivy-bridge-panther-point-ssdsThanks a lot, neteng101. That makes sense. Now I am considering if I should keep my MBA i7. Thanks anyway.

MacRumorUser
Jul 24, 2011, 08:04 AM
^ Yes...



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


Results from a MBP 13 HD3000

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

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

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

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


And a High End 15" result

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




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 ;)

eeptman
Jul 24, 2011, 08:13 AM
^ Yes...
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?

KPOM
Jul 24, 2011, 08:14 AM
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?

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.

JD92
Jul 24, 2011, 09:42 AM
...