blob: 790a149a4638c634892df70a5b5f02012e9f2b1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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_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);
#endif /* CLUTILS_H */
|