Hi Jon,

On Jan 29, 2014, at 4:23 PM, Jon Sonntag wrote:
> I'm guessing that in order to make OS X work the same way that the
> BOINC client reports the device vendor instead of the platform name and
> platform vendor since both of those would be "Apple" and make it difficult
> to keep the CUDA vs OpenCL indexing in sync.

You are correct.  BOINC does not report platform name for any OpenCL device 
(CPU or GPU); it reports both device vendor and platform vendor on all 
operating systems.  As you say, this allows consistency over all operating 
systems.

Here is the <opencl_cpu_prop> from my "Early 2008 Mac Pro" running OS 10.7.5:
> <opencl_cpu_prop>
>    <platform_vendor>Apple</platform_vendor>
>    <opencl_cpu_info>
>       <name>Intel(R) Xeon(R) CPU           E5462  @ 2.80GHz</name>
>       <vendor>Intel</vendor>
>       <vendor_id>4294967295</vendor_id>
>       <available>1</available>
>       <half_fp_config>0</half_fp_config>
>       <single_fp_config>191</single_fp_config>
>       <double_fp_config>63</double_fp_config>
>       <endian_little>1</endian_little>
>       <execution_capabilities>3</execution_capabilities>
>       <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</extensions>
>       <global_mem_size>4294967295</global_mem_size>
>       <local_mem_size>32768</local_mem_size>
>       <max_clock_frequency>2800</max_clock_frequency>
>       <max_compute_units>4</max_compute_units>
>       <opencl_platform_version>OpenCL 1.1 (Aug 10 2012 
> 19:59:50)</opencl_platform_version>
>       <opencl_device_version>OpenCL 1.1</opencl_device_version>
>       <opencl_driver_version>1.1</opencl_driver_version>
>    </opencl_cpu_info>
> </opencl_cpu_prop>

The same computer running OS 10.9.1 reports the same as above except for the 
following lines:
>       <opencl_platform_version>OpenCL 1.2 (Aug 24 2013 
> 21:03:33)</opencl_platform_version>
>       <opencl_device_version>OpenCL 1.2</opencl_device_version>

Cheers,
--Charlie

--
Charlie Fenton                        [email protected]
BOINC / SETI@home Macintosh & Windows Programmer
Space Sciences Laboratory
UC Berkeley


_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to