/* * cl-utils.h * * OpenCL utility functions * * (c) 2006-2010 Thomas White * * Part of CrystFEL - crystallography with a FEL * */ #ifndef CLUTILS_H #define CLUTILS_H #ifdef HAVE_CONFIG_H #include #endif extern const char *clError(cl_int err); 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, const char *extra_cflags); #endif /* CLUTILS_H */