blob: 1725ea1e3eef70395f6ab5c9e1efcbdc1d26998c (
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_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 */
|