mirror of https://github.com/BOINC/boinc.git
- client: Win OpenCL fix from [P3D] Crashtest
svn path=/trunk/boinc/; revision=23284
This commit is contained in:
parent
d7e5d32137
commit
c7a2191570
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue