I updated gpu_ratios.php, although it's not currently used
(it's intended to provide way of scaling credit for GPU-only projects
to enforce project neutrality, but we never implemented this).

The "[ATI" hosts may be the result of a past bug.
Let me know if any of them has a result assigned to it.

-- David

On 20-Feb-2014 7:32 AM, Jon Sonntag wrote:
select count(*)
from result
   inner join app_version on result.app_version_id = app_version.id
<http://app_version.id> and app_version.plan_class in ('opencl_amd_gpu','ati14')
   inner join host on host.id <http://host.id> = result.hostid and 
host.serialnum
like '%[ATI|%'
where elapsed_time > 100;
+----------+
| count(*) |
+----------+
|        0 |
+----------+


mysql> select count(*) from host where serialnum like '%[ATI|%';
+----------+
| count(*) |
+----------+
|    12381 |
+----------+

No results at present, but there are an awful lot of hosts that use "ATI" rather
than "CAL" in the serialnum field.

Also pertaining to intel_gpu support....
I don't know what gpu_ratios.php is used for but it doesn't have any intel_gpu 
logic
in it either.  Also, would it need any logic changes for OpenCL CPU apps vs. 
single
core CPU apps?  Or, for that matter, does it matter whether "ati" includes both 
CAL
and OpenCL or that "nvidia" includes both CUDA and OpenCL apps?

Jon Sonntag



On Thu, Feb 20, 2014 at 12:59 AM, David Anderson <[email protected]
<mailto:[email protected]>> wrote:

    Jon:
    I checked in that and some other changes to show Intel GPUs,
    and tested it on SETI@home.

    Issue #2: in the SETI@home database there are no hosts with
    [ATI... ; only [CAL...
    Do you have any of the former in your database?

    -- David


    On 19-Feb-2014 2:10 PM, Jon Sonntag wrote:

        Issue:  Intel GPUs are not showing up.
        Solution: In the function: function get_gpu_list($vendor, 
$alt_vendor=null)

        Comment out the line:
                  $v = $vendor=="cuda"?"CUDA":"CAL";

        Add the following:
                  $v = "";
                  if ($vendor=="cuda")
                      $v = "CUDA";
                  else if ($vendor=="intel")
                      $v = "INTEL";
                  else
                     $v = "CAL";


        I'm not sure that will make it 100% yet, but it is a start.


        Issue #2.  It appears that the above code doesn't handle "ATI" properly 
.
           With a serialnum of:

        [BOINC|6.10.19][ATI|ATI Radeon HD 4700/4800 
(RV740/RV770)|1|512MB|1.4.515]
        vs.
        [BOINC|6.12.26][CAL|ATI Radeon HD 4700/4800 
(RV740/RV770)|4|512MB|1.4.635]

        It seems that the get_gpu_model should not only parse on "CAL" but also 
on
        "ATI" correct?

        Solution: after the above code, add to check using the alt_vendor:

                  if ((!model) && ($v == "CAL"))
                      $model = get_gpu_model($h->serialnum, "ATI");

        Jon Sonntag
        _________________________________________________
        boinc_dev mailing list
        [email protected] <mailto:[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] <mailto:[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.

Reply via email to