Skip to content
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

add two quirks for rationals #2403

Merged
merged 2 commits into from
May 30, 2024
Merged

Conversation

lanceXwq
Copy link
Contributor

Add quirks for __throw_rational_argerror_zero and __throw_r…ational_argerror_typemin. This addition should fix #1926. Could you let me know which file I should add a test to? 😄

@maleadt
Copy link
Member

maleadt commented May 29, 2024

Thanks!

Could you let me know which file I should add a test to?

I think it would be best to add a testset referencing the issue to https://github.com/JuliaGPU/CUDA.jl/blob/master/test/base/broadcast.jl

@maleadt maleadt added cuda array Stuff about CuArray. bugfix This gets something working again. labels May 29, 2024
@lanceXwq
Copy link
Contributor Author

I just added a simple testset (9d6de65); let me know if this is okay! :)

Copy link
Member

@maleadt maleadt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; thanks for the pr!

@maleadt maleadt merged commit bbfd1ad into JuliaGPU:master May 30, 2024
1 check passed
@maleadt maleadt mentioned this pull request Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This gets something working again. cuda array Stuff about CuArray.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broadcasted multiplication with a rational doesn't work
2 participants