Originally Posted By: hybrid8
Umm, I've known the primary developer working on this at AMD since high school. It's not shipping yet. And NVIDIA's support isn't shipping yet either. I'm not sure what your demo apps do, but they're not using the vendor-developed OpenCL stuff. Probably just the CPU. Can't really get into any more detail in a public forum. smile

I have to wonder what is going on in the backend then. With 10.6.4 on my Mac Pro, I ran strings against the OpenGL driver for the 4870. It shows:
Code:
/System/Library/Frameworks/OpenCL.framework/Libraries/libclparser.dylib
;ARGSTART:__OpenCL_
func %d ; __OpenCL_%s_kernel
OpenCL 1.0 

And I did verify that framework exists. If I run some OpenCL demo apps, like the ones here, I've set the ones that allow it to run only on the GPU, and I hear the fan spin up on the video card, more then I do when running games. Running Activity Monitor and checking open files shows the process has the OpenCL frameworks loaded, and a bit of CPU time but not much. If I set one to then run against the CPUs and GPU, I see an increase in CPU time spent.

AMD was late to get the support in, as initially this did only work on NVidia GPUs (10.6.0 and 10.6.1, possibly 10.6.2 timeframe).

Code:
[Platform 0]
	Name: 		Apple
	Vendor: 	Apple
	Version: 	OpenCL 1.0 (Apr  7 2010 19:04:28)
	Profile: 	FULL_PROFILE


[OpenCL-only Context]
2 OpenCL devices found!

[Device 0]
	Name: 			Radeon HD 4870
	Vendor: 		AMD
	Type: 			GPU 
	Device Version: 	OpenCL 1.0 
	Driver Version: 	1.0
	Compute Units: 		10
	Work Group Size: 	1024
	Clock: 			750 MHz
	Global Memory: 		512 MB
	Local Memory: 		16 KB
	Cache Size: 		0 KB
	Cache Line Size: 	0 Bytes
	Available: 		Yes
	Double-Precision: 	No
	Extensions: 
				cl_APPLE_gl_sharing

I don't have XCode currently installed, but next time I do, I'll try and poke deeper.