Jump to content

OpenCL Info


  • Please log in to reply
113 replies to this topic

#1
cmf

cmf

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
hi all :angel:

just wrote a lil tool that prints out various opencl infos/features of your supported opencl devices.
see it as a way of checking if your gpu was correctly detected as opencl-capable.

obviously this requires snow leopard :(

binary and source are included in the attachment.

update 2011/02/25 (still version 0.2):
* still working in 10.7 (added output below)
* nvidia h/w seems to be restricted to opencl 1.0, cpu works with opencl 1.1

update 2010/06/16 (still version 0.2):
* the usual: version 0.2 still works fine with 10.6.4 and no apparent changes

update 2010/03/29 (still version 0.2):
* note: version 0.2 works fine with 10.6.3
* no apparent changes in 10.6.3 (besides some bug fixes)

update 2009/11/10 (still version 0.2):
* note: version 0.2 works fine with 10.6.2
* change in 10.6.2: "# of compute units" on all current nvidia cards is now displayed as "# of cores / 8" which actually reflects the hardware in a better way, since 1 compute unit/sp cluster/multiprocessor == 8 cores.

update 2009/08/26 (version 0.2):
* fixed a dumb bug if a device only supports one extension (-> amd/ati devices should at least print out cl_APPLE_gl_sharing now)
* seperate device lists for opencl-only and shared opencl+opengl contexts
* better cpu/host memory detection
* works with 10A432
* updated cl.hpp

update 2009/06/30:
* prints out platform info
* works with 10A394
* updated cl.hpp

download:
Attached File  oclinfo_0.2.zip   78.44KB   6266 downloads
sample output:
mbp/late 2008 (on 10.7):
$ ./oclinfo1 OpenCL platform found![Platform 0]	Name: 		Apple	Vendor: 	Apple	Version: 	OpenCL 1.1 (Feb 16 2011 17:04:10)	Profile: 	FULL_PROFILE	Extensions:				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions				cl_APPLE_clut				cl_APPLE_query_kernel_names				cl_APPLE_gl_sharing				cl_khr_gl_event[OpenCL-only Context]3 OpenCL devices found![Device 0]	Name: 			GeForce 9600M GT	Vendor: 		NVIDIA	Type: 			GPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	CLH 1.0	Compute Units: 		4	Work Group Size: 	512	Clock: 			1250 MHz	Global Memory: 		256 MB	Local Memory: 		16 KB	Cache Size: 		0 KB	Cache Line Size: 	0 Bytes	Available: 		Yes	Double-Precision: 	No	Extensions: 				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions				cl_APPLE_clut				cl_APPLE_query_kernel_names				cl_APPLE_gl_sharing				cl_khr_gl_event				cl_khr_byte_addressable_store				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics[Device 1]	Name: 			GeForce 9400M	Vendor: 		NVIDIA	Type: 			GPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	CLH 1.0	Compute Units: 		2	Work Group Size: 	512	Clock: 			1100 MHz	Global Memory: 		256 MB	Local Memory: 		16 KB	Cache Size: 		0 KB	Cache Line Size: 	0 Bytes	Available: 		Yes	Double-Precision: 	No	Extensions: 				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions				cl_APPLE_clut				cl_APPLE_query_kernel_names				cl_APPLE_gl_sharing				cl_khr_gl_event				cl_khr_byte_addressable_store				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics[Device 2]	Name: 			Intel® Core(tm)2 Duo CPU     P8600  @ 2.40GHz	Vendor: 		Intel	Type: 			CPU 	Device Version: 	OpenCL 1.1 	Driver Version: 	1.1	Compute Units: 		2	Work Group Size: 	1024	Clock: 			2400 MHz	Global Memory (Total): 	4096 MB	Global Memory (Host): 	4096 MB	Global Memory (PCIe): 	0 MB	Local Memory: 		32 KB	Cache Size: 		0.0625 KB	Cache Line Size: 	3145728 Bytes	Available: 		Yes	Double-Precision: 	Yes	Extensions: 				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions				cl_APPLE_clut				cl_APPLE_query_kernel_names				cl_APPLE_gl_sharing				cl_khr_gl_event				cl_khr_fp64				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_khr_local_int32_base_atomics				cl_khr_local_int32_extended_atomics				cl_khr_byte_addressable_store				cl_khr_int64_base_atomics				cl_khr_int64_extended_atomics				cl_khr_3d_image_writes				cl_APPLE_fp64_basic_ops				cl_APPLE_fixed_alpha_channel_orders				cl_APPLE_biased_fixed_point_image_formats[shared OpenCL+OpenGL Context]2 OpenCL devices found![Device 0]	Name: 			GeForce 9600M GT	Vendor: 		NVIDIA	Type: 			GPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	CLH 1.0	Compute Units: 		4	Work Group Size: 	512	Clock: 			1250 MHz	Global Memory: 		256 MB	Local Memory: 		16 KB	Cache Size: 		0 KB	Cache Line Size: 	0 Bytes	Available: 		Yes	Double-Precision: 	No	Extensions: 				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions				cl_APPLE_clut				cl_APPLE_query_kernel_names				cl_APPLE_gl_sharing				cl_khr_gl_event				cl_khr_byte_addressable_store				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics[Device 1]	Name: 			Intel® Core(tm)2 Duo CPU     P8600  @ 2.40GHz	Vendor: 		Intel	Type: 			CPU 	Device Version: 	OpenCL 1.1 	Driver Version: 	1.1	Compute Units: 		2	Work Group Size: 	1024	Clock: 			2400 MHz	Global Memory (Total): 	4096 MB	Global Memory (Host): 	4096 MB	Global Memory (PCIe): 	0 MB	Local Memory: 		32 KB	Cache Size: 		0.0625 KB	Cache Line Size: 	3145728 Bytes	Available: 		Yes	Double-Precision: 	Yes	Extensions: 				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions				cl_APPLE_clut				cl_APPLE_query_kernel_names				cl_APPLE_gl_sharing				cl_khr_gl_event				cl_khr_fp64				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_khr_local_int32_base_atomics				cl_khr_local_int32_extended_atomics				cl_khr_byte_addressable_store				cl_khr_int64_base_atomics				cl_khr_int64_extended_atomics				cl_khr_3d_image_writes				cl_APPLE_fp64_basic_ops				cl_APPLE_fixed_alpha_channel_orders				cl_APPLE_biased_fixed_point_image_formats
mbp/late 2008 (on 10.6):
$ ./oclinfo -versionOpenCL Info 0.2 (Aug 26 2009 20:34:23)1 OpenCL platform found![Platform 0]	Name: 		Apple	Vendor: 	Apple	Version: 	OpenCL 1.0 (Feb 10 2010 23:46:58)	Profile: 	FULL_PROFILE[OpenCL-only Context]3 OpenCL devices found![Device 0]	Name: 			GeForce 9600M GT	Vendor: 		NVIDIA	Type: 			GPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	CLH 1.0	Compute Units: 		4	Work Group Size: 	512	Clock: 			1250 MHz	Global Memory: 		256 MB	Local Memory: 		16 KB	Cache Size: 		0 KB	Cache Line Size: 	0 Bytes	Available: 		Yes	Double-Precision: 	No	Extensions: 				cl_khr_byte_addressable_store				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_APPLE_gl_sharing				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions[Device 1]	Name: 			GeForce 9400M	Vendor: 		NVIDIA	Type: 			GPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	CLH 1.0	Compute Units: 		2	Work Group Size: 	512	Clock: 			1100 MHz	Global Memory: 		256 MB	Local Memory: 		16 KB	Cache Size: 		0 KB	Cache Line Size: 	0 Bytes	Available: 		Yes	Double-Precision: 	No	Extensions: 				cl_khr_byte_addressable_store				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_APPLE_gl_sharing				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions[Device 2]	Name: 			Intel® Core(tm)2 Duo CPU     P8600  @ 2.40GHz	Vendor: 		Intel	Type: 			CPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	1.0	Compute Units: 		2	Work Group Size: 	1	Clock: 			2400 MHz	Global Memory (Total): 	4096 MB	Global Memory (Host): 	3072 MB	Global Memory (PCIe): 	1024 MB	Local Memory: 		16 KB	Cache Size: 		3072 KB	Cache Line Size: 	64 Bytes	Available: 		Yes	Double-Precision: 	Yes	Extensions: 				cl_khr_fp64				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_khr_local_int32_base_atomics				cl_khr_local_int32_extended_atomics				cl_khr_byte_addressable_store				cl_APPLE_gl_sharing				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions[shared OpenCL+OpenGL Context]2 OpenCL devices found![Device 0]	Name: 			GeForce 9600M GT	Vendor: 		NVIDIA	Type: 			GPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	CLH 1.0	Compute Units: 		4	Work Group Size: 	512	Clock: 			1250 MHz	Global Memory: 		256 MB	Local Memory: 		16 KB	Cache Size: 		0 KB	Cache Line Size: 	0 Bytes	Available: 		Yes	Double-Precision: 	No	Extensions: 				cl_khr_byte_addressable_store				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_APPLE_gl_sharing				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions[Device 1]	Name: 			Intel® Core(tm)2 Duo CPU     P8600  @ 2.40GHz	Vendor: 		Intel	Type: 			CPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	1.0	Compute Units: 		2	Work Group Size: 	1	Clock: 			2400 MHz	Global Memory (Total): 	4096 MB	Global Memory (Host): 	3072 MB	Global Memory (PCIe): 	1024 MB	Local Memory: 		16 KB	Cache Size: 		3072 KB	Cache Line Size: 	64 Bytes	Available: 		Yes	Double-Precision: 	Yes	Extensions: 				cl_khr_fp64				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_khr_local_int32_base_atomics				cl_khr_local_int32_extended_atomics				cl_khr_byte_addressable_store				cl_APPLE_gl_sharing				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions
hackintosh:
./oclinfo -versionOpenCL Info 0.2 (Aug 26 2009 20:34:23)1 OpenCL platform found![Platform 0]	Name: 		Apple	Vendor: 	Apple	Version: 	OpenCL 1.0 (Feb 10 2010 23:46:58)	Profile: 	FULL_PROFILE[OpenCL-only Context]2 OpenCL devices found![Device 0]	Name: 			GeForce 8800 GTX	Vendor: 		NVIDIA	Type: 			GPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	CLH 1.0	Compute Units: 		16	Work Group Size: 	512	Clock: 			1350 MHz	Global Memory: 		768 MB	Local Memory: 		16 KB	Cache Size: 		0 KB	Cache Line Size: 	0 Bytes	Available: 		Yes	Double-Precision: 	No	Extensions: 				cl_khr_byte_addressable_store				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_APPLE_gl_sharing				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions[Device 1]	Name: 			Intel® Core(tm)2 Quad  CPU   Q9450  @ 2.66GHz	Vendor: 		Intel	Type: 			CPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	1.0	Compute Units: 		4	Work Group Size: 	1	Clock: 			3200 MHz	Global Memory (Total): 	6144 MB	Global Memory (Host): 	4608 MB	Global Memory (PCIe): 	1536 MB	Local Memory: 		16 KB	Cache Size: 		6144 KB	Cache Line Size: 	64 Bytes	Available: 		Yes	Double-Precision: 	Yes	Extensions: 				cl_khr_fp64				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_khr_local_int32_base_atomics				cl_khr_local_int32_extended_atomics				cl_khr_byte_addressable_store				cl_APPLE_gl_sharing				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions[shared OpenCL+OpenGL Context]2 OpenCL devices found![Device 0]	Name: 			GeForce 8800 GTX	Vendor: 		NVIDIA	Type: 			GPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	CLH 1.0	Compute Units: 		16	Work Group Size: 	512	Clock: 			1350 MHz	Global Memory: 		768 MB	Local Memory: 		16 KB	Cache Size: 		0 KB	Cache Line Size: 	0 Bytes	Available: 		Yes	Double-Precision: 	No	Extensions: 				cl_khr_byte_addressable_store				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_APPLE_gl_sharing				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions[Device 1]	Name: 			Intel® Core(tm)2 Quad  CPU   Q9450  @ 2.66GHz	Vendor: 		Intel	Type: 			CPU 	Device Version: 	OpenCL 1.0 	Driver Version: 	1.0	Compute Units: 		4	Work Group Size: 	1	Clock: 			3200 MHz	Global Memory (Total): 	6144 MB	Global Memory (Host): 	4608 MB	Global Memory (PCIe): 	1536 MB	Local Memory: 		16 KB	Cache Size: 		6144 KB	Cache Line Size: 	64 Bytes	Available: 		Yes	Double-Precision: 	Yes	Extensions: 				cl_khr_fp64				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_khr_local_int32_base_atomics				cl_khr_local_int32_extended_atomics				cl_khr_byte_addressable_store				cl_APPLE_gl_sharing				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions
Attached File  oclinfo.zip   61.99KB   854 downloads

#2
stellarola

stellarola

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 682 posts
  • Gender:Male
  • Location:Lextown, KY
Really cool, thanks for this! :rolleyes:

2 OpenCL devices found!

[Device 0]
	Name: 			GeForce 8800 GT
	Vendor: 		NVIDIA
	Type: 			GPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	CLH 1.0
	Compute Units: 		112
	Work Group Size: 	512
	Clock: 			1500 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_khr_byte_addressable_store
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions

[Device 1]
	Name: 			Intel(R) Core(TM)2 Duo CPU	 E8400  @ 3.00GHz
	Vendor: 		Intel
	Type: 			CPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	1.0
	Compute Units: 		2
	Work Group Size: 	1
	Clock: 			3000 MHz
	Global Memory (Total): 	4096 MB
	Global Memory (Host): 	3072 MB
	Global Memory (PCIe): 	1024 MB
	Local Memory: 		16 KB
	Cache Size: 		6144 KB
	Cache Line Size: 	64 Bytes
	Available: 		Yes
	Double-Precision: 	Yes
	Extensions: 
				cl_khr_fp64
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_int64_base_atomics
				cl_khr_int64_extended_atomics
				cl_khr_byte_addressable_store
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions


-Stell

#3
weaksauce12

weaksauce12

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 980 posts
Nice, thanks!

2 OpenCL devices found!

[Device 0]
	Name: 			GeForce 8800 GTX
	Vendor: 		NVIDIA
	Type: 			GPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	CLH 1.0
	Compute Units: 		128
	Work Group Size: 	512
	Clock: 			1404 MHz
	Global Memory: 		768 MB
	Local Memory: 		16 KB
	Cache Size: 		0 KB
	Cache Line Size: 	0 Bytes
	Available: 		Yes
	Double-Precision: 	No
	Extensions: 
				cl_khr_byte_addressable_store
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions

[Device 1]
	Name: 			Intel(R) Core(TM)2 Quad CPU	Q6600  @ 2.40GHz
	Vendor: 		Intel
	Type: 			CPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	1.0
	Compute Units: 		4
	Work Group Size: 	1
	Clock: 			4000 MHz
	Global Memory (Total): 	7680 MB
	Global Memory (Host): 	6144 MB
	Global Memory (PCIe): 	1536 MB
	Local Memory: 		16 KB
	Cache Size: 		4096 KB
	Cache Line Size: 	64 Bytes
	Available: 		Yes
	Double-Precision: 	Yes
	Extensions: 
				cl_khr_fp64
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_int64_base_atomics
				cl_khr_int64_extended_atomics
				cl_khr_byte_addressable_store
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions


#4
lilos

lilos

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 121 posts
2 OpenCL devices found!

[Device 0]
Name: GeForce 8600 GT
Vendor: NVIDIA
Type: GPU
Device Version: OpenCL 1.0
Driver Version: CLH 1.0
Compute Units: 32
Work Group Size: 512
Clock: 1188 MHz
Global Memory: 256 MB
Local Memory: 16 KB
Cache Size: 0 KB
Cache Line Size: 0 Bytes
Available: Yes
Double-Precision: No
Extensions:
cl_khr_byte_addressable_store
cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_APPLE_gl_sharing
cl_APPLE_SetMemObjectDestructor
cl_APPLE_ContextLoggingFunctions

[Device 1]
Name: Intel® Core™2 Quad CPU Q6600 @ 2.40GHz
Vendor: Intel
Type: CPU
Device Version: OpenCL 1.0
Driver Version: 1.0
Compute Units: 4
Work Group Size: 1
Clock: 4000 MHz
Global Memory (Total): 6656 MB
Global Memory (Host): 6144 MB
Global Memory (PCIe): 512 MB
Local Memory: 16 KB
Cache Size: 4096 KB
Cache Line Size: 64 Bytes
Available: Yes
Double-Precision: Yes
Extensions:
cl_khr_fp64
cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics
cl_khr_int64_base_atomics
cl_khr_int64_extended_atomics
cl_khr_byte_addressable_store
cl_APPLE_gl_sharing
cl_APPLE_SetMemObjectDestructor
cl_APPLE_ContextLoggingFunctions

Why my cpu is also openCL compatible ?

#5
Ezhoon

Ezhoon

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 281 posts
  • Gender:Male
Thanks..I need something to play with under snow :P

[codebox]2 OpenCL devices found!

[Device 0]
Name: GeForce 8800 GT
Vendor: NVIDIA
Type: GPU
Device Version: OpenCL 1.0
Driver Version: CLH 1.0
Compute Units: 112
Work Group Size: 512
Clock: 1500 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_khr_byte_addressable_store
cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_APPLE_gl_sharing
cl_APPLE_SetMemObjectDestructor
cl_APPLE_ContextLoggingFunctions

[Device 1]
Name: Intel® Core™2 Quad CPU Q6600 @ 2.40GHz
Vendor: Intel
Type: CPU
Device Version: OpenCL 1.0
Driver Version: 1.0
Compute Units: 4
Work Group Size: 1
Clock: 2400 MHz
Global Memory (Total): 4096 MB
Global Memory (Host): 3072 MB
Global Memory (PCIe): 1024 MB
Local Memory: 16 KB
Cache Size: 4096 KB
Cache Line Size: 64 Bytes
Available: Yes
Double-Precision: Yes
Extensions:
cl_khr_fp64
cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics
cl_khr_int64_base_atomics
cl_khr_int64_extended_atomics
cl_khr_byte_addressable_store
cl_APPLE_gl_sharing
cl_APPLE_SetMemObjectDestructor
cl_APPLE_ContextLoggingFunctions
[/codebox]

#6
stellarola

stellarola

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 682 posts
  • Gender:Male
  • Location:Lextown, KY

Is this really necessary? It's common knowledge now that only 8x00 and higher NVIDIA GPU's are compatible, as well as the ATI GPU's.


Says the man with a Pentium 4 and 7600GS GPU. ;)

It's just something to play around with in Snow. :P

-Stell

#7
jinnggoff

jinnggoff

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 133 posts
  • Gender:Male
  • Location:hackintosh
here is msi wind opencl info....only found 1 devices :D
1 OpenCL devices found!

[Device 0]
	Name: 			Intel(R) Atom(TM) CPU N270   @ 1.60GHz
	Vendor: 		Intel
	Type: 			CPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	1.0
	Compute Units: 		2
	Work Group Size: 	1
	Clock: 			1599 MHz
	Global Memory (Total): 	1536 MB
	Global Memory (Host): 	1536 MB
	Global Memory (PCIe): 	0 MB
	Local Memory: 		16 KB
	Cache Size: 		512 KB
	Cache Line Size: 	64 Bytes
	Available: 		Yes
	Double-Precision: 	Yes
	Extensions: 
				cl_khr_fp64
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_int64_base_atomics
				cl_khr_int64_extended_atomics
				cl_khr_byte_addressable_store
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions
why are founds itn64 & fp64 in atom proc???

#8
jnolla

jnolla

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts
Kool Thx

2 OpenCL devices found!

[Device 0]
	Name: 			GeForce 8800 GT
	Vendor: 		NVIDIA
	Type: 			GPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	CLH 1.0
	Compute Units: 		112
	Work Group Size: 	512
	Clock: 			1500 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_khr_byte_addressable_store
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions

[Device 1]
	Name: 			Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
	Vendor: 		Intel
	Type: 			CPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	1.0
	Compute Units: 		4
	Work Group Size: 	1
	Clock: 			3800 MHz
	Global Memory (Total): 	7168 MB
	Global Memory (Host): 	6144 MB
	Global Memory (PCIe): 	1024 MB
	Local Memory: 		16 KB
	Cache Size: 		6144 KB
	Cache Line Size: 	64 Bytes
	Available: 		Yes
	Double-Precision: 	Yes
	Extensions: 
				cl_khr_fp64
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_int64_base_atomics
				cl_khr_int64_extended_atomics
				cl_khr_byte_addressable_store
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions

logout


#9
aliasa_anderson

aliasa_anderson

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 171 posts
I get the following :

dyld: unknown required load command 0x80000022
Trace/BPT trap

Please Suggest ?
;)

#10
cmf

cmf

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
hm, apparently some posts went missing :>

why are founds itn64 & fp64 in atom proc???

fp64/double-precision is supported by intel since 80387 times ;)
dunno about the int64 stuff, maybe it gets emulated by the driver or a quirk in apples driver/detection.

dyld: unknown required load command 0x80000022
Trace/BPT trap

it only works in snow leopard

#11
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male
2 OpenCL devices found!

[Device 0]
	Name: 			GeForce 8800 GT
	Vendor: 		NVIDIA
	Type: 			GPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	CLH 1.0
	Compute Units: 		112
	Work Group Size: 	512
	Clock: 			1650 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_khr_byte_addressable_store
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions

[Device 1]
	Name: 			Intel(R) Core(TM)2 Duo CPU	 E8500  @ 3.16GHz
	Vendor: 		Intel
	Type: 			CPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	1.0
	Compute Units: 		2
	Work Group Size: 	1
	Clock: 			3166 MHz
	Global Memory (Total): 	5632 MB
	Global Memory (Host): 	4608 MB
	Global Memory (PCIe): 	1024 MB
	Local Memory: 		16 KB
	Cache Size: 		6144 KB
	Cache Line Size: 	64 Bytes
	Available: 		Yes
	Double-Precision: 	Yes
	Extensions: 
				cl_khr_fp64
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_int64_base_atomics
				cl_khr_int64_extended_atomics
				cl_khr_byte_addressable_store
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions
Good work,
it would be interresting to see the result on a pc or a macpro with 2 Graphic cards, if opencl found them both, that mean that snow leopard will can use the both GPU, whether it is a ati or nvidia chipset, to improve applications including games (a kind of crossfire/SLI ???)

#12
cmf

cmf

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts

it would be interresting to see the result on a pc or a macpro with 2 Graphic cards, if opencl found them both, that mean that snow leopard will can use the both GPU, whether it is a ati or nvidia chipset, to improve applications including games (a kind of crossfire/SLI ???)

it does ... but i don't know if a shared opengl + opencl context is possible with both cards+cpu
3 OpenCL devices found!

[Device 0]
	Name: 			GeForce 9600M GT
	Vendor: 		NVIDIA
	Type: 			GPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	CLH 1.0
	Compute Units: 		32
	Work Group Size: 	512
	Clock: 			1250 MHz
	Global Memory: 		256 MB
	Local Memory: 		16 KB
	Cache Size: 		0 KB
	Cache Line Size: 	0 Bytes
	Available: 		Yes
	Double-Precision: 	No
	Extensions: 
				cl_khr_byte_addressable_store
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions

[Device 1]
	Name: 			GeForce 9400M
	Vendor: 		NVIDIA
	Type: 			GPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	CLH 1.0
	Compute Units: 		16
	Work Group Size: 	512
	Clock: 			1100 MHz
	Global Memory: 		256 MB
	Local Memory: 		16 KB
	Cache Size: 		0 KB
	Cache Line Size: 	0 Bytes
	Available: 		Yes
	Double-Precision: 	No
	Extensions: 
				cl_khr_byte_addressable_store
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions

[Device 2]
	Name: 			Intel(R) Core(TM)2 Duo CPU	 P8600  @ 2.40GHz
	Vendor: 		Intel
	Type: 			CPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	1.0
	Compute Units: 		2
	Work Group Size: 	1
	Clock: 			2400 MHz
	Global Memory (Total): 	4096 MB
	Global Memory (Host): 	3072 MB
	Global Memory (PCIe): 	1024 MB
	Local Memory: 		16 KB
	Cache Size: 		3072 KB
	Cache Line Size: 	64 Bytes
	Available: 		Yes
	Double-Precision: 	Yes
	Extensions: 
				cl_khr_fp64
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_int64_base_atomics
				cl_khr_int64_extended_atomics
				cl_khr_byte_addressable_store
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions

though i'm still interested in ati/amd results :D

#13
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male
hi, cmf

oclinfo don't work anymore with the last version of snow leopard 10a394 (0 OpenCL devices found!), Perhaps your utility needs to be updated

#14
cmf

cmf

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
yep, done ;)

there were some api changes and the direct approach for getting device info didn't work anymore (querying clGetContextInfo with CL_CONTEXT_DEVICES returns nothing on 10A394). have to get this info via the platform now. thats why i also added the platform info print out.

#15
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male
thanks,

it work like a charm, and sources are always appreciated :( ,

here is my result with the 10a394 version:

1 OpenCL platform found!

[Platform 0]
	Name: 			Apple
	Vendor: 		Apple
	Version: 		OpenCL 1.0 (Jun 24 2009 00:41:17)
	Profile: 		FULL_PROFILE


2 OpenCL devices found!

[Device 0]
	Name: 			GeForce 8800 GT
	Vendor: 		NVIDIA
	Type: 			GPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	CLH 1.0
	Compute Units: 		112
	Work Group Size: 	512
	Clock: 			1650 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_khr_byte_addressable_store
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions

[Device 1]
	Name: 			Intel(R) Core(TM)2 Duo CPU	 E8500  @ 3.16GHz
	Vendor: 		Intel
	Type: 			CPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	1.0
	Compute Units: 		2
	Work Group Size: 	1
	Clock: 			4000 MHz
	Global Memory (Total): 	5632 MB
	Global Memory (Host): 	4608 MB
	Global Memory (PCIe): 	1024 MB
	Local Memory: 		16 KB
	Cache Size: 		6144 KB
	Cache Line Size: 	64 Bytes
	Available: 		Yes
	Double-Precision: 	Yes
	Extensions: 
				cl_khr_fp64
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_byte_addressable_store
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions


#16
ontoid

ontoid

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
  • Gender:Male
  • Location:poland
Gf 8600GT output

1 OpenCL platform found!
 
 [Platform 0]
	 Name:			 Apple
	 Vendor:		 Apple
	 Version:		 OpenCL 1.0 (Jun 24 2009 00:41:17)
	 Profile:		 FULL_PROFILE
 
 
 2 OpenCL devices found!
 
 [Device 0]
	 Name:			 GeForce 8600 GT
	 Vendor:		 NVIDIA
	 Type:			 GPU 
	 Device Version:	 OpenCL 1.0
	 Driver Version:	 CLH 1.0
	 Compute Units:		 32
	 Work Group Size:	 512
	 Clock:			 1300 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_khr_byte_addressable_store
				 cl_khr_global_int32_base_atomics
				 cl_khr_global_int32_extended_atomics
				 cl_APPLE_gl_sharing
				 cl_APPLE_SetMemObjectDestructor
				 cl_APPLE_ContextLoggingFunctions
 
 [Device 1]
	 Name:			 Intel(R) Core(TM)2 Duo CPU	 E8200  @ 2.66GHz
	 Vendor:		 Intel
	 Type:			 CPU 
	 Device Version:	 OpenCL 1.0
	 Driver Version:	 1.0
	 Compute Units:		 2
	 Work Group Size:	 1
	 Clock:			 2700 MHz
	 Global Memory (Total):	 7168 MB
	 Global Memory (Host):	 6144 MB
	 Global Memory (PCIe):	 1024 MB
	 Local Memory:		 16 KB
	 Cache Size:		 6144 KB
	 Cache Line Size:	 64 Bytes
	 Available:		 Yes
	 Double-Precision:	 Yes
	 Extensions: 
				 cl_khr_fp64
				 cl_khr_global_int32_base_atomics
				 cl_khr_global_int32_extended_atomics
				 cl_khr_local_int32_base_atomics
				 cl_khr_local_int32_extended_atomics
				 cl_khr_byte_addressable_store
				 cl_APPLE_gl_sharing
				 cl_APPLE_SetMemObjectDestructor
				 cl_APPLE_ContextLoggingFunctions


#17
Erwin Coumans

Erwin Coumans

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Nice one. Snow Leopard 10A394 on the first generation Macbook Pro with ATI 1600:
1 OpenCL platform found!

[Platform 0]
	Name: 			Apple
	Vendor: 		Apple
	Version: 		OpenCL 1.0 (Jun 24 2009 00:41:17)
	Profile: 		FULL_PROFILE


1 OpenCL device found!

[Device 0]
	Name: 			Genuine Intel CPU		   T2600  @ 2.16GHz
	Vendor: 		Intel
	Type: 			CPU 
	Device Version: 	OpenCL 1.0
	Driver Version: 	1.0
	Compute Units: 		2
	Work Group Size: 	1
	Clock: 			2160 MHz
	Global Memory (Total): 	1536 MB
	Global Memory (Host): 	1536 MB
	Global Memory (PCIe): 	0 MB
	Local Memory: 		16 KB
	Cache Size: 		2048 KB
	Cache Line Size: 	64 Bytes
	Available: 		Yes
	Double-Precision: 	Yes
	Extensions: 
				cl_khr_fp64
				cl_khr_global_int32_base_atomics
				cl_khr_global_int32_extended_atomics
				cl_khr_local_int32_base_atomics
				cl_khr_local_int32_extended_atomics
				cl_khr_byte_addressable_store
				cl_APPLE_gl_sharing
				cl_APPLE_SetMemObjectDestructor
				cl_APPLE_ContextLoggingFunctions


#18
Aivarz

Aivarz

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
Wrong info about card. I have 4850 with 512MB memory.
[codebox]1 OpenCL platform found!

[Platform 0]
Name: Apple
Vendor: Apple
Version: OpenCL 1.0 (Jun 24 2009 00:41:17)
Profile: FULL_PROFILE


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: 4
Work Group Size: 1024
Clock: 1000 MHz
Global Memory: 128 MB
Local Memory: 16384 KB
Cache Size: 0 KB
Cache Line Size: 128 Bytes
Available: Yes
Double-Precision: No
Extensions:

[Device 1]
Name: Intel® Core™2 Duo CPU E8500 @ 3.16GHz
Vendor: Intel
Type: CPU
Device Version: OpenCL 1.0
Driver Version: 1.0
Compute Units: 2
Work Group Size: 1
Clock: 3204 MHz
Global Memory (Total): 3328 MB
Global Memory (Host): 3072 MB
Global Memory (PCIe): 256 MB
Local Memory: 16 KB
Cache Size: 6144 KB
Cache Line Size: 64 Bytes
Available: Yes
Double-Precision: Yes
Extensions:
cl_khr_fp64
cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics
cl_khr_byte_addressable_store
cl_APPLE_gl_sharing
cl_APPLE_SetMemObjectDestructor
cl_APPLE_ContextLoggingFunctions[/codebox]

#19
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,884 posts
  • Gender:Male
  • Location:Stuttgart / Germany

Wrong info about card. I have 4850 with 512MB memory.

1 OpenCL platform found![Platform 0]	Name: 			Apple	Vendor: 		Apple	Version: 		OpenCL 1.0 (Jun 24 2009 00:41:17)	Profile: 		FULL_PROFILE2 OpenCL devices found![Device 0]	Name: 			Radeon HD 4870	Vendor: 		AMD	Type: 			GPU 	Device Version: 	OpenCL 1.0	Driver Version: 	1.0	Compute Units: 		4	Work Group Size: 	1024	Clock: 			1000 MHz	Global Memory: 		128 MB	Local Memory: 		16384 KB	Cache Size: 		0 KB	Cache Line Size: 	128 Bytes	Available: 		Yes	Double-Precision: 	No	Extensions: [Device 1]	Name: 			Intel Core(tm)2 Duo CPU     E8500  @ 3.16GHz	Vendor: 		Intel	Type: 			CPU 	Device Version: 	OpenCL 1.0	Driver Version: 	1.0	Compute Units: 		2	Work Group Size: 	1	Clock: 			3204 MHz	Global Memory (Total): 	3328 MB	Global Memory (Host): 	3072 MB	Global Memory (PCIe): 	256 MB	Local Memory: 		16 KB	Cache Size: 		6144 KB	Cache Line Size: 	64 Bytes	Available: 		Yes	Double-Precision: 	Yes	Extensions: 				cl_khr_fp64				cl_khr_global_int32_base_atomics				cl_khr_global_int32_extended_atomics				cl_khr_local_int32_base_atomics				cl_khr_local_int32_extended_atomics				cl_khr_byte_addressable_store				cl_APPLE_gl_sharing				cl_APPLE_SetMemObjectDestructor				cl_APPLE_ContextLoggingFunctions


Does your ATI 4850 work with snow leopard to get QE/CI ?
What injectors / patches do you use ?

#20
Aivarz

Aivarz

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
Works using ATI_Motmot.kext from 10.5.7 and Natit.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy