Do I understand right that only yellow lines should be changed for CPU<->GPU rebranding ?
<rubbish>...</rubbish><file_info> <name>27dc08ab.32733.481.6.8.9</name> <url>http://boinc2.ssl.berkeley.edu/sah/download_fanout/f1/27dc08ab.32733.481.6.8.9</url> <md5_cksum>d8bf53ae5251691603446976bd9e757d</md5_cksum> <nbytes>375323</nbytes></file_info><workunit> <rsc_fpops_est>23780000000000.000000</rsc_fpops_est> <rsc_fpops_bound>237800000000000.000000</rsc_fpops_bound> <rsc_memory_bound>33554432.000000</rsc_memory_bound> <rsc_disk_bound>33554432.000000</rsc_disk_bound> <name>27dc08ab.32733.481.6.8.9</name> <app_name>setiathome_enhanced</app_name><file_ref> <file_name>27dc08ab.32733.481.6.8.9</file_name> <open_name>work_unit.sah</open_name></file_ref></workunit>...<file><WU><file><WU>...<file_info> <name>27dc08ab.32733.481.6.8.9_1_0</name> <generated_locally/> <upload_when_present/> <max_nbytes>65536</max_nbytes> <url>http://setiboincdata.ssl.berkeley.edu/sah_cgi/file_upload_handler</url><xml_signature>b849d6e0adcc332ad1601a97d75f4d073ea633ae16b00663e6aa98bac0477c083742e0330aae2deee62f2406ddcd1020b3ff02e3cf6f7f77482a97dbc453a48921fe18199095dda88f172da2d97b1d1cddff23272c832be8e44ba10b382127000e5ff950052f3a870c850bb3efa7cefcee57ce02ddcb6473d55526a34ba2dc4f.</xml_signature></file_info><result><report_deadline>1240773971</report_deadline><wu_name>27dc08ab.32733.481.6.8.9</wu_name><name>27dc08ab.32733.481.6.8.9_1</name> <file_ref> <file_name>27dc08ab.32733.481.6.8.9_1_0</file_name> <open_name>result.sah</open_name> </file_ref> <platform>windows_intelx86</platform> <version_num>608</version_num> <plan_class>cuda</plan_class></result>...<file><result><file><result>...<rubbish>...</rubbish>
Fred's script just replaces "608" with "603" in both the <workunit> and <result> sections (matching ones, of course), and deletes the <plan_class>cuda</plan_class> line completely - making it look exactly like a 603 directly allocated to the CPU by the server. That seems the simplest solution: but I'm intrigued by Josef's suggestion. That might be worth a look.
Identify a WU for re-branding by <rsc_fpops_est> - this is a VHAR
How AR can be matched with this field value?Any table or formula exist?