wiki:OpenclApps

Version 2 (modified by davea, 12 years ago) (diff)

--

OpenCL Applications

You can run OpenCL applications under BOINC.

OpenCL apps will run only with client versions 6.13.7+.

Application requirements

Your application must call

int boinc_get_opencl_ids(cl_device_id*, cl_platform_id*);

This returns the OpenCL platform and device IDs for the GPU that your app should use.

Scheduler requirements

The following plan classes are defined in sched/sched_customize.cpp:

opencl_nvidia_101
For app versions that run on NVIDIA GPUs using OpenCL 1.1, using at most 256MB of GPU RAM.
opencl_ati_101
For app versions that run on ATI GPUs using OpenCL 1.1, using at most 256MB of GPU RAM.

You can modify sched_customize.cpp to change these parameters or add your own plan classes.