mirror of https://github.com/BOINC/boinc.git
- client: fix calculation of ATI flops
svn path=/trunk/boinc/; revision=18852
This commit is contained in:
parent
7278ab1787
commit
152ee20b17
|
@ -6953,3 +6953,9 @@ David 17 Aug 2009
|
||||||
sched_send.cpp
|
sched_send.cpp
|
||||||
sched_types.cpp,h
|
sched_types.cpp,h
|
||||||
sched_version.cpp
|
sched_version.cpp
|
||||||
|
|
||||||
|
David 17 Aug 2009
|
||||||
|
- client: fix calculation of ATI flops
|
||||||
|
|
||||||
|
lib/
|
||||||
|
coproc.cpp,h
|
||||||
|
|
|
@ -781,6 +781,6 @@ int COPROC_ATI::parse(FILE* fin) {
|
||||||
|
|
||||||
void COPROC_ATI::description(char* buf) {
|
void COPROC_ATI::description(char* buf) {
|
||||||
sprintf(buf, "%s (CAL version %s, %.0fMB, %.0fGFLOPS)",
|
sprintf(buf, "%s (CAL version %s, %.0fMB, %.0fGFLOPS)",
|
||||||
name, version, attribs.localRAM/1024.*1024., flops()
|
name, version, attribs.localRAM/1024.*1024., flops()/1.e9
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -260,7 +260,8 @@ struct COPROC_ATI : public COPROC {
|
||||||
void clear();
|
void clear();
|
||||||
int parse(FILE*);
|
int parse(FILE*);
|
||||||
inline double flops() {
|
inline double flops() {
|
||||||
return attribs.numberOfSIMD * attribs.wavefrontSize * 5/2 * attribs.engineClock;
|
return attribs.numberOfSIMD * attribs.wavefrontSize * 2.5 * attribs.engineClock * 1.e6;
|
||||||
|
// clock is in MHz
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue