On 12.04.11 12:36, Oliver Bock wrote: > On 4/12/11 12:23 , Bernd Machenschalk wrote: >> I propose that the client should actually keep the "canonical" list of >> OpenCL devices, and a BOINC API function (e.g. >> boinc_get_opencl_device_id(int,...)) should be called in the application >> to map the --device argument to the actual OpenCL device id. > That should solve the "how to pass the non-integer OpenCL device ID to > the science app" question. Now we "just" need to figure out how to get > to the consistent mapping across frameworks. Maybe we should post a > feature request for CUDA like Rom did for OpenCL. Both frameworks should > return a unique vendor-independent device ordinal, e.g. the PCI ID...
To have that supported by the vendors will surely help, but I'm not sure whether and when support will be added. There might be a workaround to identify ATI CAL / CUDA devices in the OpneCL device list, e.g. setting a flag or writing / reading a specific register or memory address. Might OpenGL be of help? Bernd _______________________________________________ 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.
