- fix typo in compare_cuda()

svn path=/trunk/boinc/; revision=17876
This commit is contained in:
David Anderson 2009-04-24 14:20:02 +00:00
parent 3cb983f1c5
commit c883214eb9
2 changed files with 7 additions and 1 deletions

View File

@ -4175,3 +4175,9 @@ David 24 Apr 2009
lib/
coproc.cpp
David 24 Apr 2009
- fix typo in compare_cuda()
lib/
coproc.cpp

View File

@ -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;