From fced9d2b5b9154205886e12b5cde73292db3b59d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 1 Apr 2010 16:12:11 +0200 Subject: indexamajig: Introduce multithreading --- src/diffraction-gpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/diffraction-gpu.c') diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c index 91d6334f..83445405 100644 --- a/src/diffraction-gpu.c +++ b/src/diffraction-gpu.c @@ -342,7 +342,8 @@ void get_diffraction_gpu(struct gpu_context *gctx, struct image *image, /* Setup the OpenCL stuff, create buffers, load the structure factor table */ struct gpu_context *setup_gpu(int no_sfac, struct image *image, - double *intensities, unsigned int *counts) + const double *intensities, + const unsigned int *counts) { struct gpu_context *gctx; cl_uint nplat; -- cgit v1.2.3