inducer / pyopencl

OpenCL integration for Python, plus shiny features
http://mathema.tician.de/software/pyopencl
Other
1.06k stars 241 forks source link

make _new_with_changes function also work in a subclass #509

Closed haesleinhuepf closed 3 years ago

haesleinhuepf commented 3 years ago

Hi @inducer ,

I'd like to suggest a minor change that would allow us to subclass cl.array.Array conveniently. We had some minor issue in a related project and could solve it with that change suggested here.

Thanks for considering!

Best, Robert

inducer commented 3 years ago

Thanks!