- lib: fix build break.

lib/
        coproc.cpp

svn path=/trunk/boinc/; revision=19163
This commit is contained in:
Rom Walton 2009-09-25 16:10:18 +00:00
parent ad455ab09d
commit 8c283226c3
2 changed files with 10 additions and 0 deletions

View File

@ -8087,3 +8087,9 @@ Rom 25 Sept 2009
sched_customize.cpp
lib/
coproc.cpp, .h
Rom 25 Sept 2009
- lib: fix build break.
lib/
coproc.cpp

View File

@ -675,6 +675,8 @@ void COPROC_ATI::get(COPROCS& coprocs,
char buf[256];
char* desired_atilib;
char* desired_amdlib;
bool amdrt_detected = false;
bool atirt_detected = false;
int retval;
attribs.struct_size = sizeof(CALdeviceattribs);
@ -821,6 +823,8 @@ void COPROC_ATI::get(COPROCS& coprocs,
cc.attribs = attribs;
strcpy(cc.name, gpu_name.c_str());
sprintf(cc.version, "%d.%d.%d", cal_major, cal_minor, cal_imp);
cc.amdrt_detected = amdrt_detected;
cc.atirt_detected = atirt_detected;
cc.device_num = i;
gpus.push_back(cc);
}