diff options
Diffstat (limited to 'src/cl-utils.h')
-rw-r--r-- | src/cl-utils.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/cl-utils.h b/src/cl-utils.h new file mode 100644 index 00000000..1725ea1e --- /dev/null +++ b/src/cl-utils.h @@ -0,0 +1,26 @@ +/* + * cl-utils.h + * + * OpenCL utility functions + * + * (c) 2006-2010 Thomas White <taw@physics.org> + * + * Part of CrystFEL - crystallography with a FEL + * + */ + +#ifndef CLUTILS_H +#define CLUTILS_H + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + + +extern const char *clError(cl_int err); +extern cl_device_id get_first_dev(cl_context ctx); +extern cl_program load_program(const char *filename, cl_context ctx, + cl_device_id dev, cl_int *err); + + +#endif /* CLUTILS_H */ |