mirror of https://github.com/BOINC/boinc.git
MGR: Fix project list identification of CUDA, ATI, and MT support
svn path=/trunk/boinc/; revision=23743
This commit is contained in:
parent
fcd9a94810
commit
bc3fc49a79
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue