From 94b0050cc7735c3e1635cbc89c13c6b2c49c69c8 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 17 May 2019 17:03:48 +0200 Subject: Use Spectrum API for simulation --- src/diffraction-gpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/diffraction-gpu.h') diff --git a/src/diffraction-gpu.h b/src/diffraction-gpu.h index bef12a8e..a4d16583 100644 --- a/src/diffraction-gpu.h +++ b/src/diffraction-gpu.h @@ -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 flat); + int no_fringes, int flat, int n_samples); 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 flat) + int no_fringes, int flat, int n_samples) { /* Do nothing */ ERROR("This copy of CrystFEL was not compiled with OpenCL support.\n"); -- cgit v1.2.3