Skip to content

Rewire how kernel optimizations work #258

Description

@inducer
  • Currently it uses get_cached_executor(), which branches on OPT_ENABLED, but we need to move to actx.call_loopy.
  • Move to transform_loopy_program.
  • Need to move e.g. register_optimization_preambles to the array context somehow too. The kernels no longer have a context or device, so they can't do that. Probably need to move this to actx.transform_loopy_program somehow?

Left over from #256.

cc @alexfikl

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions