aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction-gpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/diffraction-gpu.h')
-rw-r--r--src/diffraction-gpu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/diffraction-gpu.h b/src/diffraction-gpu.h
index c313859f..0b0e364b 100644
--- a/src/diffraction-gpu.h
+++ b/src/diffraction-gpu.h
@@ -3,11 +3,11 @@
*
* Calculate diffraction patterns by Fourier methods (GPU version)
*
- * Copyright © 2012-2014 Deutsches Elektronen-Synchrotron DESY,
+ * Copyright © 2012-2017 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
*
* Authors:
- * 2010-2014 Thomas White <taw@physics.org>
+ * 2010-2017 Thomas White <taw@physics.org>
*
* This file is part of CrystFEL.
*
@@ -42,7 +42,7 @@ struct gpu_context;
extern int get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
int na, int nb, int nc, UnitCell *ucell,
- int no_fringes);
+ int no_fringes, int flat);
extern struct gpu_context *setup_gpu(int no_sfac,
const double *intensities,
const unsigned char *flags,
@@ -53,7 +53,7 @@ extern void cleanup_gpu(struct gpu_context *gctx);
static int get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
int na, int nb, int nc, UnitCell *ucell,
- int no_fringes)
+ int no_fringes, int flat)
{
/* Do nothing */
ERROR("This copy of CrystFEL was not compiled with OpenCL support.\n");