- client: include deviceOverlap and multiProcessorCount

in XML for CUDA devices.  They were mistakenly omitted.


svn path=/trunk/boinc/; revision=16647
This commit is contained in:
David Anderson 2008-12-08 19:12:38 +00:00
parent af183bc2db
commit 0e31d9da7f
3 changed files with 17 additions and 1 deletions

View File

@ -9930,3 +9930,10 @@ David 8 Dec 2008
client/
rr_sim.cpp
David 8 Dec 2008
- client: include deviceOverlap and multiProcessorCount
in XML for CUDA devices. They were mistakenly omitted.
lib/
coproc.cpp

View File

@ -1,6 +1,11 @@
<?
$project_news = array(
array("December 8, 2008",
"IBM World Community Grid and Harvard launch
<a href=http://www.reuters.com/article/environmentNews/idUSTRE4B70QS20081208>an application to study a new type of photovoltaic solar cells</a>.
"
),
array("December 1, 2008",
"Wikipedia'a <a href=http://en.wikipedia.org/wiki/Wikipedia:Today%27s_featured_article/December_1,_2008>featured article for today</a> is about Rosetta@home."
),

View File

@ -227,6 +227,8 @@ void COPROC_CUDA::write_xml(MIOFILE& f) {
" <minor>%d</minor>\n"
" <clockRate>%d</clockRate>\n"
" <textureAlignment>%u</textureAlignment>\n"
" <deviceOverlap>%d</deviceOverlap>\n"
" <multiProcessorCount>%d</multiProcessorCount>\n"
"</coproc_cuda>\n",
count,
prop.name,
@ -242,7 +244,9 @@ void COPROC_CUDA::write_xml(MIOFILE& f) {
prop.major,
prop.minor,
prop.clockRate,
(unsigned int)prop.textureAlignment
(unsigned int)prop.textureAlignment,
prop.deviceOverlap,
prop.multiProcessorCount
);
}
#endif