diff options
author | Thomas White <taw@physics.org> | 2010-11-18 11:04:05 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:06 +0100 |
commit | d6ae8065f7c422300dba3b6256f4ace53b39a092 (patch) | |
tree | 25ffd2c30e20d002c9b92c1910f60427471010d6 /src/diffraction-gpu.h | |
parent | 322bcc8d927078b1d672faf94c507c44f8104b1a (diff) |
Handle multiple GPUs
Diffstat (limited to 'src/diffraction-gpu.h')
-rw-r--r-- | src/diffraction-gpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diffraction-gpu.h b/src/diffraction-gpu.h index 2438e8f1..4a5815bf 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, - const double *intensities); + const double *intensities, int dev_num); 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, - const double *intensities) + const double *intensities, int dev_num) { return NULL; } |