From 0089ba9c0f2567c107be5eb36a23ded067d3747b Mon Sep 17 00:00:00 2001 From: Jerome Kieffer Date: Wed, 20 Nov 2024 16:53:59 +0100 Subject: [PATCH] Change version of silx --- src/pyFAI/opencl/azim_csr.py | 2 +- src/pyFAI/opencl/azim_hist.py | 2 +- src/pyFAI/opencl/azim_lut.py | 2 +- src/pyFAI/opencl/peak_finder.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pyFAI/opencl/azim_csr.py b/src/pyFAI/opencl/azim_csr.py index 5a8c61ff5..4c0db511e 100644 --- a/src/pyFAI/opencl/azim_csr.py +++ b/src/pyFAI/opencl/azim_csr.py @@ -278,7 +278,7 @@ def compile_kernels(self, kernel_file=None): try: compile_options = self.get_compiler_options(x87_volatile=True, apple_gpu=True) except (AttributeError, TypeError): # Silx version too old - logger.warning("Please upgrade to silx v2.1+") + logger.warning("Please upgrade to silx v2.2+") from . import get_compiler_options compile_options = get_compiler_options(self.ctx, x87_volatile=True, apple_gpu=True) diff --git a/src/pyFAI/opencl/azim_hist.py b/src/pyFAI/opencl/azim_hist.py index cdaaf1079..163aed8aa 100644 --- a/src/pyFAI/opencl/azim_hist.py +++ b/src/pyFAI/opencl/azim_hist.py @@ -260,7 +260,7 @@ def compile_kernels(self, kernel_file=None): try: compile_options = self.get_compiler_options(x87_volatile=True, apple_gpu=True) except (AttributeError, TypeError): # Silx version too old - logger.warning("Please upgrade to silx v2.1+") + logger.warning("Please upgrade to silx v2.2+") from . import get_compiler_options compile_options = get_compiler_options(self.ctx, x87_volatile=True, apple_gpu=True) diff --git a/src/pyFAI/opencl/azim_lut.py b/src/pyFAI/opencl/azim_lut.py index f93f92f07..4db6efe89 100644 --- a/src/pyFAI/opencl/azim_lut.py +++ b/src/pyFAI/opencl/azim_lut.py @@ -208,7 +208,7 @@ def compile_kernels(self, kernel_file=None): try: compile_options = self.get_compiler_options(x87_volatile=True, apple_gpu=True) except (AttributeError, TypeError): # Silx version too old - logger.warning("Please upgrade to silx v2.1+") + logger.warning("Please upgrade to silx v2.2+") from . import get_compiler_options compile_options = get_compiler_options(self.ctx, x87_volatile=True, apple_gpu=True) diff --git a/src/pyFAI/opencl/peak_finder.py b/src/pyFAI/opencl/peak_finder.py index 761646def..1c5e4adb2 100644 --- a/src/pyFAI/opencl/peak_finder.py +++ b/src/pyFAI/opencl/peak_finder.py @@ -29,7 +29,7 @@ __authors__ = ["Jérôme Kieffer"] __license__ = "MIT" -__date__ = "19/11/2024" +__date__ = "20/11/2024" __copyright__ = "2014-2023, ESRF, Grenoble" __contact__ = "jerome.kieffer@esrf.fr" @@ -910,7 +910,7 @@ def compile_kernels(self, kernel_file=None): try: compile_options = self.get_compiler_options(x87_volatile=True, apple_gpu=True) except (AttributeError, TypeError): # Silx version too old - logger.warning("Please upgrade to silx v2.1+") + logger.warning("Please upgrade to silx v2.2+") from . import get_compiler_options compile_options = get_compiler_options(self.ctx, x87_volatile=True, apple_gpu=True)