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.
