Kaushik Kulkarni

Results 55 issues of Kaushik Kulkarni

Loopy-flavored loop-fusion transformation corresponding to .

Provided test case fails on `main`. Draft because: - Fix for #600 must land first as it has broken out CI.

MWE: ```python import loopy as lp knl = lp.make_kernel( [ "{[iel, iface, idof, ifacedof]:" " 0

- [x] Depends on #293 (commits included here) - [ ] Depends on #350 (commits included here)

A desirable test case for this would be: ```python out[x, e, i] = sum([r, j], sum([j], Jac[x, e, r] * Rdiff[r, i, j] * u[e, j])) ``` should be transformed...

Consider the kernel: ```python import loopy as lp knl = lp.make_kernel( "{[e, i, j]: 0

Consider the kernel: ```python import loopy as lp knl = lp.make_einsum("k,ij,ij->i", arg_names=("a", "b", "c")) knl = lp.extract_subst(knl, "tmp_hoist", "b[i, j] * c[i, j]") ``` raises the following exception: ```python RuntimeError:...

Depend on an instruction only if it writes to the variables that the compute instruction reads.