David Anderson
21248a00f8
API: replace strcpy() with strlcpy() various places
2013-06-03 15:04:20 -07:00
Charlie Fenton
507c82a6d6
OpenCL: remove dead code reported by Heinz-Bernd Eggenstein
2013-03-05 13:43:14 +01:00
Oliver Bock
9bef2edbf0
Merge branch 'master' of ssh://boinc.berkeley.edu/boinc
2013-03-04 17:47:10 +01:00
Charlie Fenton
59e303a57f
OpenCL: fix bug reported by Heinz-Bernd Eggenstein
2013-03-04 17:46:44 +01:00
Rom Walton
4b3f9b4cb7
Fix build break for boinc_opencl.cpp and move the include of <vector> below the pre-compiled header file for Windows builds in boinc_api.cpp
2013-03-04 17:45:14 +01:00
Charlie Fenton
6314d1c7ea
OpenCL: Change type argument of new boinc_get_opencl_ids() API from char* to int; it now accepts PROC_TYPE_NVIDIA_GPU, PROC_TYPE_AMD_GPU or PROC_TYPE_INTEL_GPU
2013-03-04 15:23:38 +01:00
David Anderson
865d50623e
- code formatting
2013-03-04 15:23:38 +01:00
Charlie Fenton
ed35d78490
OpenCL: Add a second API for boinc_get_opencl_ids() which is compatible with older clients (before BOINC 7.0.12)
2013-03-04 15:23:38 +01:00
Charlie Fenton
e8abd328d1
OpenCL: Add a second API for boinc_get_opencl_ids() which is compatible with older clients (before BOINC 7.0.12)
2013-03-04 15:23:38 +01:00
Charlie Fenton
b98fee99b3
OpenCL: Add a second API for boinc_get_opencl_ids() which is compatible with older clients (before BOINC 7.0.12)
2013-03-04 15:23:38 +01:00
David Anderson
ed414c26f0
- compile fix
...
svn path=/trunk/boinc/; revision=25664
2012-05-09 20:03:15 +00:00
Eric J. Korpela
6e65ae4df1
Added NVIDIA GPU platform detection to boinc_get_opencl_ids_aux()
...
svn path=/trunk/boinc/; revision=25592
2012-04-23 21:23:40 +00:00
Charlie Fenton
fd999fc652
OpenCL: workaround for GPUs reported by CUDA but not by Mac OpenCL
...
svn path=/trunk/boinc/; revision=25109
2012-01-20 13:30:47 +00:00
David Anderson
dbdcfc9a07
- OpenCL API: check return value from clGetDeviceIDs()
...
svn path=/trunk/boinc/; revision=24566
2011-11-09 21:24:47 +00:00
David Anderson
083040ba63
- OpenCL API: fix logic error
...
svn path=/trunk/boinc/; revision=24565
2011-11-09 21:04:01 +00:00
Rom Walton
7c88969aa9
- API: Remove exception trapping stuff from the
...
boinc_get_opencl_ids.
api/
boinc_opencl.cpp
svn path=/trunk/boinc/; revision=24552
2011-11-08 15:12:44 +00:00
Charlie Fenton
b10b199099
api: Restore list checkin of 31 October 2011
...
svn path=/trunk/boinc/; revision=24515
2011-11-03 08:28:55 +00:00
David Anderson
010b11406b
- API: fix bug in boinc_get_opencl_ids()
...
- add simulator for distributed storage (not finished)
svn path=/trunk/boinc/; revision=24511
2011-11-03 03:29:07 +00:00
Rom Walton
687195e7f0
Quick Updates
...
svn path=/trunk/boinc/; revision=24510
2011-11-03 02:35:04 +00:00
David Anderson
7b28215032
- client: reimplement the round-robin simulator to
...
reduce its runtime from O(N^2) to O(N),
where N is the number of runnable jobs
(which can be in the thousands).
This will make the client emulator run a lot faster,
and will reduce the client CPU overhead a bit.
- API: change boinc_get_opencl_ids() so that it returns
a BOINC error code (< -100) if the app_init.xml is
missing or bad (i.e. we're running standalone),
and an OpenCL error code (> -100) if an OpenCL call failed.
svn path=/trunk/boinc/; revision=24469
2011-10-24 17:53:09 +00:00
David Anderson
ec33994fe7
- API; fix the above fix
...
svn path=/trunk/boinc/; revision=24160
2011-09-12 03:48:16 +00:00
David Anderson
228f626a01
- API: change boinc_get_opencl_ids() to use APP_INIT_DATA
...
instead of cmdline
svn path=/trunk/boinc/; revision=24159
2011-09-11 22:22:55 +00:00
Charlie Fenton
0e5e4da926
API: More fixes to boinc_get_opencl_ids()
...
svn path=/trunk/boinc/; revision=24103
2011-09-01 08:31:55 +00:00
Charlie Fenton
a02c37cbce
API: Fix compile errors and warnings, add documentation
...
svn path=/trunk/boinc/; revision=24101
2011-09-01 00:06:34 +00:00
David Anderson
f1c201ab40
- API: boinc_get_opencl_ids() doesn't need to link
...
the OpenCL library at runtime.
It's used only in OpenCL applications,
which already include the library.
svn path=/trunk/boinc/; revision=24097
2011-08-31 17:36:16 +00:00
David Anderson
c0f977b19c
- client: fix bugs related to white space around code signing keys
...
- win compile fixes
svn path=/trunk/boinc/; revision=24095
2011-08-31 16:36:17 +00:00
David Anderson
9bbbb3ea38
- boinc_get_opencl_ids():
...
- change signature to return int error code
- no function overloading
svn path=/trunk/boinc/; revision=24094
2011-08-31 16:12:14 +00:00
David Anderson
f1040e87ec
- move boinc_get_opencl_ids() from lib/ to api/.
...
lib/ is for code that's used by >1 part of BOINC
svn path=/trunk/boinc/; revision=24093
2011-08-31 15:54:41 +00:00