The server code you changed does not enable users to be able to choose
CUDA, ATI, and Intel GPUs in the project preferences. For that, additional
changes are required to prefs.inc and util.inc. The changes I believe are
necessary are:
In util.inc, in the function get_app_types, I had to add the lines for
intel_gpu as shown below:
At line 811:
$t->intel = false;
At line 824:
} else if (strstr($av->plan_class, "intel_gpu")) {
$t->intel = true;
$t->count++;
Then, in prefs.inc at line 48:
// [ <no_cpu>1</no_cpu> ]
// [ <no_cuda>1</no_cuda> ]
// [ <no_ati>1</no_ati> ]
// [ <no_intel>1</no_intel> ]
And further down at line 341:
if ($app_types->intel) {
$project_pref_descs[] = new PREF_BOOL (
tra(
"Use Intel GPU %1 Enforced by version 7.0+ %2",
"<br><span class=note>",
"</span>"
),
"no_intel",
false,
true
);
}
Jon
On Fri, Apr 19, 2013 at 2:11 AM, David Anderson <[email protected]>wrote:
> Jon:
>
> Actually there's already code for that;
> it's been in the client since 7.0.40 or so.
> It uses XML elements like
> <no_rsc_apps>intel_gpu</no_**rsc_apps>
> (the GPU type is data rather than part of the tag).
>
> The scheduler code to send these tags was mistakenly disabled; I fixed
> this.
> Check out the latest server code and things should work; let me know if
> not.
>
> -- David
>
>
> On 18-Apr-2013 3:54 PM, Jon Sonntag wrote:
>
>> I upgraded the Collatz server today partly in order to support Intel GPU
>> applications. But, it doesn't appear that BOINC supports it 100% quite
>> yet.
>>
>> 1) I made changes to prefs.inc and util.inc so users can choose to use the
>> Intel GPU or not. I can share the changes if that helps. Not sure how to
>> use the diff tools but could email the files.
>> 2) I added <no_intel_apps> element to the XML in sched_types.cpp similar
>> to
>> the no_cuda_apps and no_ati_apps.
>>
>> The following changes are to the client code:
>>
>> 1) I changed project.cpp to handle "no_intel_apps" like it does
>> no_ati_apps.
>> 2) I changed scheduler_op.cpp needs to handle "no_intel_apps" like it does
>> no_ati_apps.
>>
>> My assumption is that the client will continue to ask for Intel GPU work
>> even if the preferences are set on the server to not use Intel GPUs until
>> such time as the client includes the changes above.
>>
>> Jon Sonntag
>> ______________________________**_________________
>> boinc_dev mailing list
>> [email protected]
>> http://lists.ssl.berkeley.edu/**mailman/listinfo/boinc_dev<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<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.