You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issues with zeros et al functions of array contexts #161
actx.zeros_like and actx.empty_like work on containers.
at least the eager pyopencl version propagates tags in both of those.
actx.zeros and actx.empty can't really get support for array containers, since they don't have a template to mimic. Also, there's no actx.np.zeros, so that should be done as well!
Activity
alexfikl commentedon May 2, 2022
actx.zerosdoesn't work on containers (like all the other methods inactx), so they're not quite equivalent. Should it?inducer commentedon May 2, 2022
I don't see why it shouldn't.
actx.freezeis (legitimately) growing container support (#158).alexfikl commentedon Jun 27, 2022
Did some of this work in #178:
actx.zeros_likeandactx.empty_likework on containers.pyopenclversion propagates tags in both of those.actx.zerosandactx.emptycan't really get support for array containers, since they don't have a template to mimic. Also, there's noactx.np.zeros, so that should be done as well!inducer commentedon Jun 28, 2022
Thanks for working on that!