mirror of https://github.com/BOINC/boinc.git
- client: Fermi compute capability is 2, not 3
svn path=/trunk/boinc/; revision=21036
This commit is contained in:
parent
ca342e9b69
commit
9a06c4164f
|
@ -2302,3 +2302,9 @@ David 31 Mar 2010
|
||||||
gui_rpc_server_ops.cpp
|
gui_rpc_server_ops.cpp
|
||||||
clientgui/
|
clientgui/
|
||||||
MainDocument.cpp
|
MainDocument.cpp
|
||||||
|
|
||||||
|
David 31 Mar 2010
|
||||||
|
- client: Fermi compute capability is 2, not 3
|
||||||
|
|
||||||
|
lib/
|
||||||
|
coproc.h
|
||||||
|
|
|
@ -251,7 +251,7 @@ struct COPROC_CUDA : public COPROC {
|
||||||
// each processor has 8 or 32 cores;
|
// each processor has 8 or 32 cores;
|
||||||
// each core can do 2 ops per clock
|
// 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.;
|
double x = (1000.*prop.clockRate) * prop.multiProcessorCount * cores_per_proc * 2.;
|
||||||
return x?x:5e10;
|
return x?x:5e10;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue