Skip to content

[FRONTEND] Emit warning if the result of tl.advance is unused#2155

Merged
ptillet merged 1 commit intotriton-lang:mainfrom
Jokeren:keren/warning
Aug 23, 2023
Merged

[FRONTEND] Emit warning if the result of tl.advance is unused#2155
ptillet merged 1 commit intotriton-lang:mainfrom
Jokeren:keren/warning

Conversation

@Jokeren
Copy link
Copy Markdown
Contributor

@Jokeren Jokeren commented Aug 22, 2023

@Jokeren Jokeren requested a review from ptillet as a code owner August 22, 2023 19:58
@ptillet ptillet merged commit 5fa1fa1 into triton-lang:main Aug 23, 2023
Jokeren pushed a commit that referenced this pull request Nov 27, 2023
…c()` calls (#2703)

This PR replaces the `py::exec()` calls with native Python C API. This
is much safer and eliminates the side effects on the Python side (e.g.,
assignment for function `warnings.showwarning`).

Ref:

- #2155
@Jokeren Jokeren deleted the keren/warning branch December 7, 2023 23:52
feihugis pushed a commit to feihugis/triton that referenced this pull request Feb 13, 2024
…c()` calls (triton-lang#2703)

This PR replaces the `py::exec()` calls with native Python C API. This
is much safer and eliminates the side effects on the Python side (e.g.,
assignment for function `warnings.showwarning`).

Ref:

- triton-lang#2155
pingzhuu pushed a commit to siliconflow/triton that referenced this pull request Apr 2, 2024
…c()` calls (triton-lang#2703)

This PR replaces the `py::exec()` calls with native Python C API. This
is much safer and eliminates the side effects on the Python side (e.g.,
assignment for function `warnings.showwarning`).

Ref:

- triton-lang#2155
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants