I'be just noticed that one of my machines is generating the same error 
messages, currently running BOINC v7.4.21

http://setiweb.ssl.berkeley.edu/beta/show_host_detail.php?hostid=61440


Machine has two identical NVidia GPUs - so uses both cards without need of an 
entry in cc_config.xml
It also has an Intel HD 4000 iGPU, also configured for BOINC to use.

I see the errors and warnings when a task is assigned to run on NV Device 1:
Running on device number: 1
Priority of worker thread raised successfully
Priority of process adjusted successfully, below normal priority class used
Invalid OpenCL GPU index: 1 
WARNING: boinc_get_opencl_ids failed with code -33
OpenCL platform detected: Intel(R) Corporation
OpenCL platform detected: NVIDIA Corporation
WARNING: BOINC supplied wrong platform!
BOINC assigns device 1
WARNING: BOINC failed to provide OpenCL device, using own enumeration abilities
but not when the same application is assigned to run on NV Device 0:
Running on device number: 0
Priority of worker thread raised successfully
Priority of process adjusted successfully, below normal priority class used
OpenCL platform detected: Intel(R) Corporation
OpenCL platform detected: NVIDIA Corporation
BOINC assigns device 0
Info: BOINC provided OpenCL device ID used
I normally run applications from two different projects on the two NV cards, 
which I why I haven't seen this before - and in fact I've just started a new 
task on Device 1, so it will be busy for the next 8 hours or so. But once it's 
finished, I will force SETI Beta to run on both cards, and forward the 
contrasting files for inspection.



>________________________________
> From: Raistmer the Sorcerer <[email protected]>
>To: Charlie Fenton <[email protected]> 
>Cc: boinc_dev email List <[email protected]> 
>Sent: Monday, September 15, 2014 6:17 PM
>Subject: Re: [boinc_dev] boinc_get_opencl_ids() returns -33 while own app 
>enumeration found device
> 
>
>Hi Charlie
>
>Please look this message:  
>http://setiweb.ssl.berkeley.edu/beta/forum_thread.php?id=2182&postid=52412
>
>From it one can infer that BOINC detected both GPUs and both GPUs (ATi ones I 
>mean) is active, use all GPUs switch enabled.
>
>Regarding platform warning - it means that app own enumeration scheme detected 
>different platform than proposed by BOINC.
>Surely it will be cause BOINC API call resulted in error.
>
>Does -33 error code corresponds OpenCL specification? If so, it probably means 
>BOINC API made OpenCL 1.1 call perhaps while device is OpenCL 1.0. Please 
>check this possibility.
>
>Regarding using NV instead of ATi - hardly possible. App runs on ATi GPU after 
>all (and exactly on HD4xxx GPU, device 1 by means of own enumeration scheme).
>
>wbr
>
>
>
>
>Mon, 15 Sep 2014 05:18:08 -0700 от Charlie Fenton <[email protected]>:
>>Hi Raistmer,
>>
>>boinc_get_opencl_ids() reported the reason for the failure in this line:
>>> Invalid OpenCL GPU index: 1 
>>This error will occur if the value of <gpu_opencl_dev_index> provided by the 
>>init_data.xml file
>>
>>It would be very helpful to see the init_data.xml file to understand what 
>>went wrong.
>>
>>Does user TBar have the following option set in his cc_config.xml file?
>>> <use_all_gpus>1</use_all_gpus>
>>
>>If not, then BOINC will normally use only the most powerful ATI GPU (the 6770 
>>Juniper), so the 4670 (RV730) will be ignored, so the highest valid OpenCL 
>>GPU index will be 0.  However, I'm not sure whether this still applies in the 
>>case of anonymous platform.  Also, boinc_get_opencl_ids() determines the 
>>number of OpenCL devices for each platform independently.
>>
>>What does the BOINC client report about its detection of GPUs near the 
>>beginning of BOINC's Event Log (in stdoutdae.txt a few lines after "Starting 
>>BOINC client version 7.2.42 ....")?  Does it say that the 4670 is "not used"?
>>
>>The host system has one NVIDIA GPU and 2 ATI GPUs.  What does this message 
>>mean:
>>> WARNING: BOINC supplied wrong platform!
>>
>>Is there any possibility that the anonymous platform specification was trying 
>>to run the application on a second NVIDIA GPU rather than the second ATI GPU?
>>
>>Cheers,
>>--Charlie
>>
>>On Sep 14, 2014, at 12:38 AM, Raistmer the Sorcerer < [email protected] > 
>>wrote:
>>
>>> Please look this post for background:
>>> 
>>>  http://setiweb.ssl.berkeley.edu/beta/forum_thread.php?id=2182&postid=52387
>>> 
>>> On  ATI 4670 card under WinXP boinc_get_opencl_ids() returns -33.
>>> If this error code corresponds OpenCL standart it would mean 
>>> #define CL_INVALID_DEVICE                           -33
>>> 
>>> Nevetheless app's own device enumeration abilities allow to find this GPU 
>>> and use it. This results in warning given in stderr. Some another app could 
>>> not work at all on such GPU relying only on BOINC enumeration scheme. 
>>> Why BOINC's code fails to detect GPU correctly?
>>> 
>>> -  Raistmer the Sorcerer
>>> _______________________________________________
>>> 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.
>>> 
>>
>
>_______________________________________________
>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.
>
>
_______________________________________________
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