diff options
author | Thomas White <taw@physics.org> | 2011-03-02 18:40:28 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:16 +0100 |
commit | c708b2162f76a228235983f183f6250dc68522c4 (patch) | |
tree | 223e0f62003f7529f073ba35001c1ec4712f668c /src/cl-utils.c | |
parent | 356b10b53e51d1ec695d9b6a09bd9fab6b46a0f3 (diff) |
Fix GPU code for new geometry, and tidy up some detector stuff (needs debugging)
Diffstat (limited to 'src/cl-utils.c')
-rw-r--r-- | src/cl-utils.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/cl-utils.c b/src/cl-utils.c index 0c6dce27..7c1b23a3 100644 --- a/src/cl-utils.c +++ b/src/cl-utils.c @@ -3,17 +3,25 @@ * * OpenCL utility functions * - * (c) 2006-2010 Thomas White <taw@physics.org> + * (c) 2006-2011 Thomas White <taw@physics.org> * * Part of CrystFEL - crystallography with a FEL * */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdlib.h> #include <stdio.h> #include <string.h> + +#ifdef HAVE_CL_CL_H +#include <CL/cl.h> +#else #include <cl.h> +#endif #include "utils.h" |