8000 Add sici and shichi to special for sine and cosine integrals by steppi · Pull Request #8620 · cupy/cupy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add sici and shichi to special for sine and cosine integrals #8620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 1, 2024

Conversation

steppi
Copy link
Contributor
@steppi steppi commented Sep 23, 2024

This PR adds the functions sici and shichi to cupyx.scipy.special for evaluating sine and cosine integrals and hyperbolic sine and cosine integrals respectively. We added CUDA support for these functions to SciPy in scipy/scipy#21210.

Notice that cupy/_core/include/cupy/special has been renamed to cupy/_core/include/cupy/xsf. We've made this change internally in SciPy too scipy/scipy#21297, and are preparing to split this out into a separate library which SciPy and CuPy can both include as a submodule. I've updated the headers to the latest ones that are being used in SciPy.

@asi1024
Copy link
Member
asi1024 commented Sep 25, 2024

@steppi Thank you for your pull request submission! Could you please inform us about your schedule for the release of the header library submodule?

@asi1024
Copy link
Member
asi1024 commented Sep 25, 2024

/test mini

@steppi
Copy link
Contributor Author
steppi commented Sep 30, 2024

@asi1024, I've added macros for some __host__ __device__ annotations which were missing. This should take care of the test failures. I'd like to see a first xsf release by late October, and am hoping to start the process soon.

@asi1024
Copy link
Member
asi1024 commented Oct 1, 2024

/test mini

@asi1024
Copy link
Member
asi1024 commented Oct 1, 2024

The static-checks failure seems unrelated to this PR.

@asi1024 asi1024 added this to the v14.0.0a1 milestone Oct 1, 2024
@asi1024
Copy link
Member
asi1024 commented Oct 1, 2024

@steppi LGTM! Thanks!

@asi1024 asi1024 merged commit fe309de into cupy:main Oct 1, 2024
59 of 60 checks passed
@steppi
Copy link
Contributor Author
steppi commented Oct 1, 2024

@asi1024, I've created an RFC here, scipy/xsf#1, about the plan to create the header library submodule for special functions, if you're interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0