Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

eeptman

macrumors member
Original poster
Jul 21, 2011
69
0
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:
 

eeptman

macrumors member
Original poster
Jul 21, 2011
69
0
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?
 
Last edited:

MRU

macrumors Penryn
Aug 23, 2005
25,370
8,952
a better place
^ 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

macrumors member
Original poster
Jul 21, 2011
69
0
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

macrumors P6
Oct 23, 2010
18,311
8,326
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.