aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction-gpu.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-12-03 15:04:02 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:07 +0100
commit27d14f0b1391bbc6d667eb9c82e78c3b02052e5a (patch)
tree136e6a3ac7ec8eaf4f36a9a88913838c090125c3 /src/diffraction-gpu.h
parent796feb582e9dff7511c411f0e97dcdf382a6f85d (diff)
Use symmetry when simulating (on the CPU only)
Diffstat (limited to 'src/diffraction-gpu.h')
-rw-r--r--src/diffraction-gpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/diffraction-gpu.h b/src/diffraction-gpu.h
index 4a5815bf..7e6048b3 100644
--- a/src/diffraction-gpu.h
+++ b/src/diffraction-gpu.h
@@ -26,7 +26,8 @@ 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,
- const double *intensities, int dev_num);
+ const double *intensities,
+ const unsigned char *flags, int dev_num);
extern void cleanup_gpu(struct gpu_context *gctx);
#else
@@ -39,7 +40,8 @@ static void get_diffraction_gpu(struct gpu_context *gctx, struct image *image,
}
static struct gpu_context *setup_gpu(int no_sfac, struct image *image,
- const double *intensities, int dev_num)
+ const double *intensities,
+ const unsigned char *flags, int dev_num)
{
return NULL;
}