aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-12-07 11:51:56 +0100
committerThomas White <taw@physics.org>2018-02-27 17:12:41 +0100
commit911a5a47ecee5fce2ad3d16bd1460f779011c083 (patch)
tree539204221aceafd73c8ce6ba140e6c5c59b3628a /tests
parent0f24c4fb9451f1c32fb89534b37bf7f804e37d99 (diff)
pattern_sim: Add --flat
Diffstat (limited to 'tests')
-rw-r--r--tests/gpu_sim_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gpu_sim_check.c b/tests/gpu_sim_check.c
index ba51b8db..8c666775 100644
--- a/tests/gpu_sim_check.c
+++ b/tests/gpu_sim_check.c
@@ -171,7 +171,7 @@ int main(int argc, char *argv[])
gpu_image.spectrum = generate_tophat(&gpu_image);
start = get_hires_seconds();
- if ( get_diffraction_gpu(gctx, &gpu_image, 8, 8, 8, cell, 1) ) {
+ if ( get_diffraction_gpu(gctx, &gpu_image, 8, 8, 8, cell, 0, 0) ) {
return 1;
}
end = get_hires_seconds();
@@ -195,7 +195,7 @@ int main(int argc, char *argv[])
start = get_hires_seconds();
get_diffraction(&cpu_image, 8, 8, 8, NULL, NULL, NULL, cell,
- GRADIENT_MOSAIC, sym, 1);
+ GRADIENT_MOSAIC, sym, 0, 0);
end = get_hires_seconds();
cpu_time = end - start;