diff options
author | Thomas White <taw@physics.org> | 2010-12-03 16:43:19 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:07 +0100 |
commit | 9aafea1bdb0255ad7d2491d96174ac3407a6ca69 (patch) | |
tree | 69bb5865124beea2285917fa4eaa62e092896525 /src/diffraction-gpu.h | |
parent | c25120f4b71da8b82476c8a14b1617c8f7b72d57 (diff) |
Use symmetry when simulating on the GPU
Diffstat (limited to 'src/diffraction-gpu.h')
-rw-r--r-- | src/diffraction-gpu.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/diffraction-gpu.h b/src/diffraction-gpu.h index 7e6048b3..02115317 100644 --- a/src/diffraction-gpu.h +++ b/src/diffraction-gpu.h @@ -27,7 +27,8 @@ 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, - const unsigned char *flags, int dev_num); + const unsigned char *flags, + const char *sym, int dev_num); extern void cleanup_gpu(struct gpu_context *gctx); #else @@ -41,7 +42,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, - const unsigned char *flags, int dev_num) + const unsigned char *flags, + const char *sym, int dev_num) { return NULL; } |