Skip to content

How to get the compiled function which can be called later? #207

Description

@tongzhou80

Once I do tune_kernel("my_kernel", ...), how do I get the object of the compiled function that has the best runtime, which can be called again? Something like this:

func = tune_kernel("my_kernel", kernel_str, ..., args, ...)
func(args). # call again with args

Essentially an autotuner that returns the best compiled version. Thanks!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions