diff options
author | Thomas White <taw@physics.org> | 2011-03-03 18:17:23 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:17 +0100 |
commit | 9ae75d4f001f902b93dc6006aa3654b879f353ed (patch) | |
tree | 2a80594fa432b62f60125397a2045ecb293bb549 /data/diffraction.cl | |
parent | 24af59f48cd85289eb1f7834e2a9856d39c7a995 (diff) |
Fussiness
Diffstat (limited to 'data/diffraction.cl')
-rw-r--r-- | data/diffraction.cl | 22 |
1 files changed, 10 insertions, 12 deletions
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 */ |