loopy
loopy copied to clipboard
A code generator for array-based code on CPUs and GPUs
Consider the simple batched matvec example: ```python knl = lp.make_kernel( "{[e,i,j]: 0
Needs: - [ ] https://github.com/inducer/pyopencl/pull/452
CFamilyTarget should only define the callables present in the intersection of all the C-based targets. The math functions on the complex-typed operands from `complex.h` aren't common to targets like OpenCL/Cuda...
MWE ```python import loopy as lp import islpy as isl lp.make_kernel([isl.BasicSet("{[]:}")], []) # Works lp.make_kernel("{ []: }", []) # Fails?! ```
Here's the MWE ```python import loopy as lp import numpy as np knl = lp.make_kernel( domains = "{ [_0]: 0
Here's the MWE ```python import loopy as lp import numpy as np knl = lp.make_kernel( domains = "{ [_0]: 0
Here's the MWE ```python import loopy as lp import numpy as np knl = lp.make_kernel( domains = "{ [_0]: 0
See inducer/pymbolic#74. There's some unrelated changes in there apparently. Let me know which ones are annoying and they can go!
I don't know if we should calculate something from the predicates or do you think this is sufficient?