Skip to content

Conversation

@ElDigoXD
Copy link
Contributor

I was looking for sincospi function and I found in the docs there is "cospi" but not "sinpi", so I looked at the source code and didn't find any reference to them except in docs/build_api.py.

Function cospi is mentioned in the docs but it does not exist on the source
@stijnh
Copy link
Member

stijnh commented Oct 23, 2025

Good catch! Thanks for your contribution.

If you need it for you code, we could add sinpi/cospi for float and double and for the other precisions fall back to just performing sin(pi*x)/cos(pi*x)

@ElDigoXD
Copy link
Contributor Author

If its easy/possible to implement, I would like a sincospi function, as I need to compute both.
The cuda one: cuda docs

Thanks!

@stijnh stijnh merged commit aa2f07b into KernelTuner:main Oct 23, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants