8000 TST: `special`: `test_compiles_in_cupy` is broken · Issue #22942 · scipy/scipy · GitHub
[go: up one dir, main page]

Skip to content
TST: special: test_compiles_in_cupy is broken #22942
@crusaderky

Description

@crusaderky

Describe your issue.

scipy.special.tests.test_xsf_cuda.test_compiles_in_cupy is failing.
CC @steppi

Reproducing Code Example

$ SCIPY_XSLOW=1 python dev.py test -t scipy.special -- -k test_compiles_in_cupy

Error message

Since #22854:

FAILED scipy/special/tests/test_xsf_cuda.py::test_compiles_in_cupy[dd->d-#include <xsf/cephes/beta.h>-out0 = xsf::cephes::beta(in0, in1)] - AttributeError: module 'scipy.special' has no attribute '_get_include'

Before that:

FAILED scipy/special/tests/test_xsf_cuda.py::test_compiles_in_cupy[dd->d-#include <xsf/cephes/beta.h>-out0 = xsf::cephes::beta(in0, in1)] - 
E   cupy.cuda.compiler.CompileException: /home/crusaderky/github/scipy/build-install/lib/python3.12/site-packages/scipy/special/xsf/config.h(111): error: namespace "cuda::std" has no member "floor"

SciPy/NumPy/Python version and system information

python 3.12
linux x64
cupy 13.4.1
conda-forge

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectA clear bug or issue that prevents SciPy from being installed or used as expectedmaintenanceItems related to regular maintenance tasks

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0