diff options
author | Thomas White <taw@physics.org> | 2010-04-01 16:12:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-04-01 16:12:11 +0200 |
commit | fced9d2b5b9154205886e12b5cde73292db3b59d (patch) | |
tree | d50ce7b6c6485e16910d3386f74a9c52129f10c0 /src/diffraction-gpu.c | |
parent | 4ef558e6c6b1bf7be1a28b945834f8c5fcb65dd0 (diff) |
indexamajig: Introduce multithreading
Diffstat (limited to 'src/diffraction-gpu.c')
-rw-r--r-- | src/diffraction-gpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |