JuliaGPU / CUDA.jl

CUDA programming in Julia.
https://juliagpu.org/cuda/
Other
1.16k stars 206 forks source link

add two quirks for rationals #2403

Closed lanceXwq closed 1 month ago

lanceXwq commented 1 month ago

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 commented 1 month ago

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

lanceXwq commented 1 month ago

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