Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BACKEND] Add folder for addptr(ptr, 0) -> ptr #5166

Merged
merged 3 commits into from
Nov 15, 2024
Merged

Commits on Nov 15, 2024

  1. [BACKEND] Add folder for addptr(ptr, 0) -> ptr

    I noticed this rather obvious pattern was missing. It might come up for
    example if you have an expression like:
    ```python
    ptrs = ptr + y_stride * tl.arange(0, YBLOCK)[:, None]
    ```
    and the `YBLOCK` is set to 1 during autotuning.
    peterbell10 committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    d6a9d00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8edfaba View commit details
    Browse the repository at this point in the history
  3. Use matchPattern

    peterbell10 committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    bfb9c30 View commit details
    Browse the repository at this point in the history