MGR: Fix project list identification of CUDA, ATI, and MT support

svn path=/trunk/boinc/; revision=23743
This commit is contained in:
Charlie Fenton 2011-06-17 11:04:55 +00:00
parent fcd9a94810
commit bc3fc49a79
2 changed files with 10 additions and 3 deletions

View File

@ -3584,3 +3584,10 @@ David 16 Jun 2011
client/
app.cpp,h
app_control.cpp
Charlie 17 Jun 2011
- MGR: Fix project list identification of CUDA, ATI, and MT support (check
for "['cuda" not "[cuda". "['ati" not "[ati" and "['mt" not "[mt".)
clientgui/
ProjectInfoPage.cpp

View File

@ -699,21 +699,21 @@ void CProjectInfoPage::OnPageChanged( wxWizardExEvent& event ) {
}
}
if (strProjectPlatform.Find(_T("[cuda")) != wxNOT_FOUND) {
if (strProjectPlatform.Find(_T("['cuda")) != wxNOT_FOUND) {
pProjectInfo->m_bProjectSupportsNvidiaGPU = true;
if ((pDoc->state.have_cuda) && (strClientPlatform == strRootProjectPlatform)) {
pProjectInfo->m_bSupportedPlatformFound = true;
}
}
if (strProjectPlatform.Find(_T("[ati")) != wxNOT_FOUND) {
if (strProjectPlatform.Find(_T("['ati")) != wxNOT_FOUND) {
pProjectInfo->m_bProjectSupportsATIGPU = true;
if ((pDoc->state.have_ati) && (strClientPlatform == strRootProjectPlatform)) {
pProjectInfo->m_bSupportedPlatformFound = true;
}
}
if (strProjectPlatform.Find(_T("[mt")) != wxNOT_FOUND) {
if (strProjectPlatform.Find(_T("['mt")) != wxNOT_FOUND) {
pProjectInfo->m_bProjectSupportsMulticore = true;
if ((pDoc->host.p_ncpus >= 4) && (strClientPlatform == strRootProjectPlatform)) {
pProjectInfo->m_bSupportedPlatformFound = true;