- client: Fermi compute capability is 2, not 3

svn path=/trunk/boinc/; revision=21036
This commit is contained in:
David Anderson 2010-03-31 18:31:56 +00:00
parent ca342e9b69
commit 9a06c4164f
2 changed files with 7 additions and 1 deletions

View File

@ -2302,3 +2302,9 @@ David 31 Mar 2010
gui_rpc_server_ops.cpp
clientgui/
MainDocument.cpp
David 31 Mar 2010
- client: Fermi compute capability is 2, not 3
lib/
coproc.h

View File

@ -251,7 +251,7 @@ struct COPROC_CUDA : public COPROC {
// each processor has 8 or 32 cores;
// each core can do 2 ops per clock
//
int cores_per_proc = (prop.major>=3)?32:8;
int cores_per_proc = (prop.major>=2)?32:8;
double x = (1000.*prop.clockRate) * prop.multiProcessorCount * cores_per_proc * 2.;
return x?x:5e10;
}