aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction-gpu.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-03-27 20:10:12 +0100
committerThomas White <taw@bitwiz.org.uk>2010-03-27 20:10:12 +0100
commitf15dc3d8b88c7a4a7054309fbcd5756de8a7fc0b (patch)
treef78389a5984861e3007d75fab4574eb561a27017 /src/diffraction-gpu.h
parentbdd2a7b4a8a5456a023d54be6fd5d6a011314c7e (diff)
Make it obvious, when using GPU simulation, if a required reflection is unavailable
Diffstat (limited to 'src/diffraction-gpu.h')
-rw-r--r--src/diffraction-gpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diffraction-gpu.h b/src/diffraction-gpu.h
index a9e46b66..9d74dec4 100644
--- a/src/diffraction-gpu.h
+++ b/src/diffraction-gpu.h
@@ -26,7 +26,7 @@ struct gpu_context;
extern void get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
int na, int nb, int nc, UnitCell *ucell);
extern struct gpu_context *setup_gpu(int no_sfac, struct image *image,
- double *intensities);
+ double *intensities, unsigned int *counts);
extern void cleanup_gpu(struct gpu_context *gctx);
#else
@@ -39,7 +39,7 @@ static void get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
}
static struct gpu_context *setup_gpu(int no_sfac, struct image *image,
- double *intensities)
+ double *intensities, unsigned int *counts)
{
return NULL;
}