- client: Win OpenCL fix from [P3D] Crashtest

svn path=/trunk/boinc/; revision=23284
This commit is contained in:
David Anderson 2011-03-27 11:24:39 +00:00
parent d7e5d32137
commit c7a2191570
2 changed files with 8 additions and 3 deletions

View File

@ -1886,3 +1886,9 @@ David 25 Mar 2011
Makefile.mingw
api/
Makefile.mingw
David 27 Mar 2011
- client: Win OpenCL fix from [P3D] Crashtest
client/
coproc_detect.cpp

View File

@ -137,8 +137,7 @@ void COPROCS::get_opencl(vector<string>&warnings) {
OPENCL_DEVICE_PROP prop;
#ifdef _WIN32
// TODO: Is this correct?
opencl_lib = LoadLibrary("libOpenCL.dll");
opencl_lib = LoadLibrary("OpenCL.dll");
if (!opencl_lib) {
warnings.push_back("No OpenCL library found");
return;
@ -1310,4 +1309,4 @@ bool COPROC_ATI::matches(OPENCL_DEVICE_PROP& OpenCLprop) {
if (attribs.engineClock != OpenCLprop.max_clock_freq) return false;
return true;
}
}