diff options
Diffstat (limited to 'src/cl-utils.h')
-rw-r--r-- | src/cl-utils.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cl-utils.h b/src/cl-utils.h index 6e76748a..fcaf1380 100644 --- a/src/cl-utils.h +++ b/src/cl-utils.h @@ -3,11 +3,11 @@ * * OpenCL utility functions * - * Copyright © 2012-2014 Deutsches Elektronen-Synchrotron DESY, + * Copyright © 2012-2018 Deutsches Elektronen-Synchrotron DESY, * a research centre of the Helmholtz Association. * * Authors: - * 2010-2014 Thomas White <taw@physics.org> + * 2010-2018 Thomas White <taw@physics.org> * * This file is part of CrystFEL. * @@ -36,6 +36,10 @@ extern const char *clError(cl_int err); extern cl_device_id get_cl_dev(cl_context ctx, int n); +extern cl_program load_program_from_string(const char *source_in, size_t len, + cl_context ctx, cl_device_id dev, + cl_int *err, const char *extra_cflags, + const char *insert_stuff); extern cl_program load_program(const char *filename, cl_context ctx, cl_device_id dev, cl_int *err, const char *extra_cflags, const char *insert_stuff); |