diff --git a/httomolibgpu/cuda_kernels/__init__.py b/httomolibgpu/cuda_kernels/__init__.py index cfb219a3..56a97eed 100644 --- a/httomolibgpu/cuda_kernels/__init__.py +++ b/httomolibgpu/cuda_kernels/__init__.py @@ -25,5 +25,5 @@ def load_cuda_module( code += f.read() return cp.RawModule( - options=("-std=c++11", *options), code=code, name_expressions=name_expressions + options=("-std=c++17", *options), code=code, name_expressions=name_expressions ) diff --git a/httomolibgpu/prep/normalize.py b/httomolibgpu/prep/normalize.py index e82e13ae..62dae319 100644 --- a/httomolibgpu/prep/normalize.py +++ b/httomolibgpu/prep/normalize.py @@ -96,7 +96,7 @@ def dark_flat_field_correction( "float32 out", kernel, kernel_name, - options=("-std=c++11",), + options=("-std=c++17",), loop_prep="constexpr float eps = 1.0e-07;", no_return=True, ) diff --git a/pyproject.toml b/pyproject.toml index 9e448e2a..de48877f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,12 +34,12 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Environment :: GPU :: NVIDIA CUDA" ] -requires-python = ">=3.10" +requires-python = ">=3.11" dynamic = ["version"] dependencies = [ - "cupy==12.3.0", + "cupy==14.0.*", "nvtx", - "numpy", + "numpy==2.3.*", "scipy", "pillow", "scikit-image",