Jump to content

OpenCL Info


cmf
 Share

115 posts in this topic

Recommended 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:

oclinfo_0.2.zip

sample output:

mbp/late 2008 (on 10.7):

$ ./oclinfo
1 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 -version
OpenCL 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 -version
OpenCL 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

oclinfo.zip

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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® Core2 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 ?

Link to comment
Share on other sites

Thanks..I need something to play with under snow :P

 

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(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: 			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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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???

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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_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(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

Link to comment
Share on other sites

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_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(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 ?

Link to comment
Share on other sites

(ATI 4850) Works using ATI_Motmot.kext from 10.5.7 and Natit.

Thanks !

 

In which .kext are that plugins (like MotMot, Triakis, Megadolon,...) ?

I cant find the ATINDRV.kext / ATIRNDRV.kext in my Snow Leo Extemsiond. Its only in 10.5.7.

Should i use that or is something wrong with my Snow Install (ATINDRV.KEXT also not in the Snow Install .plgs).

 

Sorry for little off topic - but may help others too :(

Link to comment
Share on other sites

Why am I only getting 2 compute units on my CPU?

 

L2 cache size also appears to be incorrect, it should read 12 MB (not 6):

 

1 OpenCL platform found!

[Platform 0]
Name: 			Apple
Vendor: 		Apple
Version: 		OpenCL 1.0 (Jul 11 2009 21:44:47)
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: 			1620 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	Q9550  @ 2.83GHz
Vendor: 		Intel
Type: 			CPU 
Device Version: 	OpenCL 1.0
Driver Version: 	1.0
Compute Units: 		2
Work Group Size: 	1
Clock: 			2836 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_byte_addressable_store
			cl_APPLE_gl_sharing
			cl_APPLE_SetMemObjectDestructor
			cl_APPLE_ContextLoggingFunctions

 

edit: I'm on 10A411, if it matters.

Link to comment
Share on other sites

 Share

×
×
  • Create New...