From 9ae75d4f001f902b93dc6006aa3654b879f353ed Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 3 Mar 2011 18:17:23 +0100 Subject: Fussiness --- data/diffraction.cl | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'data') diff --git a/data/diffraction.cl b/data/diffraction.cl index 5efd65d1..85080c58 100644 --- a/data/diffraction.cl +++ b/data/diffraction.cl @@ -190,16 +190,16 @@ float molecule_factor(global float *intensities, global float *flags, kernel void diffraction(global float *diff, global float *tt, float klow, - int w, float corner_x, float corner_y, - float res, float clen, float16 cell, - global float *intensities, - int min_fs, int min_ss, int sampling, local float *tmp, - float kstep, - read_only image2d_t func_a, - read_only image2d_t func_b, - read_only image2d_t func_c, - global float *flags, - float fsx, float fsy, float ssx, float ssy) + int w, float corner_x, float corner_y, + float res, float clen, float16 cell, + global float *intensities, + int min_fs, int min_ss, int sampling, local float *tmp, + float kstep, + read_only image2d_t func_a, + read_only image2d_t func_b, + read_only image2d_t func_c, + global float *flags, + float fsx, float fsy, float ssx, float ssy) { float ttv; float fs, ss; @@ -210,8 +210,6 @@ kernel void diffraction(global float *diff, global float *tt, float klow, const int ly = get_local_id(1); const int lb = get_local_id(2); float k = klow + kstep * get_local_id(2); - const int afs = fs / sampling; - const int ass = ss / sampling; /* Array index of target pixel */ float intensity; /* Calculate fractional coordinates in fs/ss */ -- cgit v1.2.3