aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-02-28 15:25:04 +0100
committerThomas White <taw@physics.org>2014-02-28 15:25:04 +0100
commitbea8ba818ef735fa2d667f132c90471da15ae1d1 (patch)
tree75a1125ea11157721a839c7744b4a6dfa36b50fd /tests
parentb6ec4053a99b1c0b584a20af189a1a48db89f908 (diff)
pattern_sim: Add --no-fringes
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 d2475213..0419d945 100644
--- a/tests/gpu_sim_check.c
+++ b/tests/gpu_sim_check.c
@@ -166,7 +166,7 @@ int main(int argc, char *argv[])
gpu_image.spectrum = generate_tophat(&gpu_image);
start = get_hires_seconds();
- get_diffraction_gpu(gctx, &gpu_image, 8, 8, 8, cell);
+ get_diffraction_gpu(gctx, &gpu_image, 8, 8, 8, cell, 1);
end = get_hires_seconds();
gpu_time = end - start;
@@ -174,7 +174,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);
+ GRADIENT_MOSAIC, sym, 1);
end = get_hires_seconds();
cpu_time = end - start;