mirror of https://github.com/BOINC/boinc.git
- fix typo in compare_cuda()
svn path=/trunk/boinc/; revision=17876
This commit is contained in:
parent
3cb983f1c5
commit
c883214eb9
|
@ -4175,3 +4175,9 @@ David 24 Apr 2009
|
|||
|
||||
lib/
|
||||
coproc.cpp
|
||||
|
||||
David 24 Apr 2009
|
||||
- fix typo in compare_cuda()
|
||||
|
||||
lib/
|
||||
coproc.cpp
|
||||
|
|
|
@ -155,7 +155,7 @@ int cuda_compare(COPROC_CUDA& c1, COPROC_CUDA& c2, bool ignore_flops) {
|
|||
if (c1.prop.totalGlobalMem < c2.prop.totalGlobalMem) return -1;
|
||||
if (ignore_flops) return 0;
|
||||
double s1 = c1.flops_estimate();
|
||||
double s2 = c1.flops_estimate();
|
||||
double s2 = c2.flops_estimate();
|
||||
if (s1 > s2) return 1;
|
||||
if (s1 < s2) return -1;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue