mirror of https://github.com/BOINC/boinc.git
MGR: Don't mark a project as supported if it requires a coprocessor we lack
svn path=/trunk/boinc/; revision=23752
This commit is contained in:
parent
422ac99be8
commit
8a9c474b72
|
@ -699,20 +699,27 @@ void CProjectInfoPage::OnPageChanged( wxWizardExEvent& event ) {
|
|||
|
||||
if (strProjectPlatform.Find(_T("[cuda")) != wxNOT_FOUND) {
|
||||
pProjectInfo->m_bProjectSupportsNvidiaGPU = true;
|
||||
if (!pDoc->state.have_cuda) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (strProjectPlatform.Find(_T("[ati")) != wxNOT_FOUND) {
|
||||
pProjectInfo->m_bProjectSupportsATIGPU = true;
|
||||
if (!pDoc->state.have_ati) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (strProjectPlatform.Find(_T("[mt")) != wxNOT_FOUND) {
|
||||
pProjectInfo->m_bProjectSupportsMulticore = true;
|
||||
}
|
||||
|
||||
if (pProjectInfo->m_bProjectSupportsNvidiaGPU) {
|
||||
if (!pDoc->state.have_cuda) continue;
|
||||
}
|
||||
|
||||
if (pProjectInfo->m_bProjectSupportsATIGPU) {
|
||||
if (!pDoc->state.have_ati) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (pProjectInfo->m_bProjectSupportsMulticore) {
|
||||
if (pDoc->host.p_ncpus < 4) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue