I have checked in changes to lib/boinc_opencl.cpp in the GIT master branch which should fix this problem with boinc_get_opencl_ids().
> Commit: 328d87be2625ce68a04b0d1caf29e3826eab25f3[328d87b] > API: Fix a bug in boinc_get_opencl_ids() which incorrectly returned > CL_INVALID_DEVICE on some systems. This would happen on hosts with multiple > GPUs if: > * the host has GPUs from two different vendors with different OpenCL > platforms (e.g., NVIDIA and AMD), and > * the second platform queried has more GPUs than the first one, and > * the requested GPU is a higher numbed one in the second platform. 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.
