inducer / pyopencl

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

Extend if_positive to take scalars for then or else #513

Closed alexfikl closed 2 years ago

alexfikl commented 2 years ago

This allows if_positive to work with

inducer commented 2 years ago

LGTM, thanks!

inducer commented 2 years ago

Released 2021.2.7 with these changes. Should be on conda forge tomorrow-ish.