inducer / sumpy

Symbolic code generators for multipole and local expansions and translations
31 stars 13 forks source link

improve fallback for vec types #175

Closed isuruf closed 11 months ago

isuruf commented 1 year ago

loopy/pyopencl can only tag arrays as vec for arrays of size 2,3,4,8,16. What this does is to divide those into array chunks so that the largest is 128 wide. Also extends the support when strengths and the sources have different dtypes.

inducer commented 11 months ago

Thx!