diff options
author | Thomas White <taw@physics.org> | 2010-11-18 11:04:05 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:06 +0100 |
commit | d6ae8065f7c422300dba3b6256f4ace53b39a092 (patch) | |
tree | 25ffd2c30e20d002c9b92c1910f60427471010d6 /src/cl-utils.h | |
parent | 322bcc8d927078b1d672faf94c507c44f8104b1a (diff) |
Handle multiple GPUs
Diffstat (limited to 'src/cl-utils.h')
-rw-r--r-- | src/cl-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cl-utils.h b/src/cl-utils.h index 1725ea1e..790a149a 100644 --- a/src/cl-utils.h +++ b/src/cl-utils.h @@ -18,7 +18,7 @@ extern const char *clError(cl_int err); -extern cl_device_id get_first_dev(cl_context ctx); +extern cl_device_id get_cl_dev(cl_context ctx, int n); extern cl_program load_program(const char *filename, cl_context ctx, cl_device_id dev, cl_int *err); |