inducer / loopy

A code generator for array-based code on CPUs and GPUs
http://mathema.tician.de/software/loopy
MIT License
587 stars 73 forks source link

Make a "proper" way to force the grid size #84

Open inducer opened 7 years ago

inducer commented 7 years ago

Currently, if the set of instructions changes, the get_grid_sizes_for_insn_ids() hand-off won't work. This can happen during fairly innocent kernel transforms. What's needed is a "stable" way to refer to a subkernel...

mattwala commented 7 years ago

Can you give an example?

inducer commented 7 years ago

See Nick's question and the ensuing thread on the loopy list.