Skip to content

Commit

Permalink
Change version of silx
Browse files Browse the repository at this point in the history
  • Loading branch information
kif committed Nov 20, 2024
1 parent 870b4c1 commit 0089ba9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pyFAI/opencl/azim_csr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/pyFAI/opencl/azim_hist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/pyFAI/opencl/azim_lut.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions src/pyFAI/opencl/peak_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = "[email protected]"

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 0089ba9

Please sign in to comment.