Conversation
|
@inducer I started looking through the loopy codegen code to try to figure out how to generate temporaries for the reduction bounds to avoid islpy errors (as is done in the loopy example), but I'm having some trouble figuring out how best to do that. Seems like I need to create the temporaries inside |
|
Yes, working inside of |
de98230 to
2e1c083
Compare
|
@inducer I think this is ready for a look. I'm not sure how to fix the lingering doc build errors. Here's what the results are looking like. Code: Kernel: |
5159091 to
f7f8699
Compare
|
FWIW, while experimenting with containers in inducer/arraycontext#349, I tried seeing what this PR would look like if sparse matrix objects were treated as arrays. The changes are here. (Basically, matrices are treated as any other array except in codegen-related mappers, which refuse to process matrices that aren't reached through matmul arrays.) |
28b29b3 to
51e65df
Compare
faa9bfc to
40eb010
Compare
40eb010 to
a50c592
Compare
4675d86 to
2274478
Compare
…e other checks over from constructor
2274478 to
87f5820
Compare
Adds
CSRMatmularray type for multiplication by sparse matrices in compressed sparse row format.cc @lukeolson