From ebb71389328009f5c00aea568fe6cf6673adfb4f Mon Sep 17 00:00:00 2001 From: Jerome Kieffer Date: Thu, 5 Dec 2024 16:02:00 +0100 Subject: [PATCH] Add test and ensure engine compatibility --- src/pyFAI/resources/openCL/medfilt.cl | 7 ------- src/pyFAI/test/test_medfilt_engine.py | 30 +++++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/src/pyFAI/resources/openCL/medfilt.cl b/src/pyFAI/resources/openCL/medfilt.cl index 11d29520e..589cd0b45 100644 --- a/src/pyFAI/resources/openCL/medfilt.cl +++ b/src/pyFAI/resources/openCL/medfilt.cl @@ -129,7 +129,6 @@ csr_medfilt ( const global float4 *data4, float sum=0.0f, ratio=1.3f; float2 acc_sig, acc_nrm, acc_var, acc_nrm2; -// if (tid==0)printf("bin %d start %d stop %d\n",bin_num,start, stop); // first populate the work4 array from data4 for (int i=start+tid; i