Skip to content

Commit

Permalink
api: Restore list checkin of 31 October 2011
Browse files Browse the repository at this point in the history
svn path=/trunk/boinc/; revision=24515
  • Loading branch information
Charlie Fenton committed Nov 3, 2011
1 parent d53b89f commit b10b199
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
18 changes: 2 additions & 16 deletions api/boinc_opencl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,17 @@
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.

// BOINC API for OpenCL

// The BOINC client calls the project application with the arguments:
// --gpu_type TYPE --device N
// where TYPE is ATI or NVIDIA, and N is the GPU number of that type
// For example, for ATI GPU number 0, the arguments will be:
// --gpu_type ATI --device 0
//
// To get the cl_device_id and cl_platform_id for the OpenCL GPU
// asigned to your application call this function:
// assigned to your application call this function:
// int boinc_get_opencl_ids(int argc, char** argv, cl_device_id*, cl_platform_id*);
//
// NOTE: You should compile and link this function as part of your
// application; it is not included in the standard BOINC libraries.
// To use this function, link your application with libboinc_opencl.a
//

#ifdef _WIN32
#include "win_util.h"
#else
#ifdef __APPLE__
// Suppress obsolete warning when building for OS 10.3.9
#define DLOPEN_NO_WARN
#include <mach-o/dyld.h>
#endif
#include "config.h"
#include <dlfcn.h>
#include <setjmp.h>
#include <signal.h>
#endif
Expand Down
6 changes: 6 additions & 0 deletions checkin_notes
Original file line number Diff line number Diff line change
Expand Up @@ -8018,3 +8018,9 @@ David 2 Nov 2011

sched/
credit.cpp

Charlie 3 Nov 2011
- api: Restore list checkin of 31 October 2011.

api/
boinc_opencl.cpp

0 comments on commit b10b199

Please sign in to comment.