Skip to content

Conversation

@anmyachev
Copy link
Contributor

@anmyachev anmyachev commented Jun 6, 2025

@anmyachev anmyachev linked an issue Jun 6, 2025 that may be closed by this pull request
@etiotto etiotto requested a review from alexbaden June 6, 2025 15:02
Copy link
Contributor

@alexbaden alexbaden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine w/ me if it works. Wonder why the 1024 size limit existed previously - do you know?

@anmyachev
Copy link
Contributor Author

Fine w/ me if it works. Wonder why the 1024 size limit existed previously - do you know?

Don't know, but PyErr_SetString shouldn't have this limitation according to docs: https://docs.python.org/3.9/c-api/exceptions.html#c.PyErr_SetString.

Maybe it was easier this way, since other drivers don't use c++.

@anmyachev anmyachev marked this pull request as ready for review June 6, 2025 15:55
@anmyachev anmyachev merged commit 9d7bc59 into main Jun 6, 2025
20 of 21 checks passed
@anmyachev anmyachev deleted the amyachev/issue4437 branch June 6, 2025 18:34
david-hls pushed a commit to david-hls/intel-xpu-backend-for-triton that referenced this pull request Jun 18, 2025
When initializing defaults in reverse order, the default values are
 not use in correctly order.

(However, the defaults are not actually used to set defaults, which
 just causes a compile error.)

The core Triton is a small number of people, and we receive many PRs
(thank
you!).  To help us review your code more quickly, **if you are a new
contributor (less than 3 PRs merged) we ask that you complete the
following
tasks and include the filled-out checklist in your PR description.**

Complete the following tasks before sending your PR, and replace `[ ]`
with
`[x]` to indicate you have done them.

- [x] I am not making a trivial change, such as fixing a typo in a
comment.

- [x] I have written a PR description following these
  [rules](https://cbea.ms/git-commit/#why-not-how).

- [x] I have run `pre-commit run --from-ref origin/main --to-ref HEAD`.

- Select one of the following.
  - [x] I have added tests.
    - `/test` for `lit` tests
    - `/unittest` for C++ tests
    - `/python/test` for end-to-end tests
  - [ ] This PR does not need a test because `FILL THIS IN`.

- Select one of the following.
  - [x] I have not added any `lit` tests.
- [ ] The `lit` tests I have added follow these [best
practices](https://mlir.llvm.org/getting_started/TestingGuide/#filecheck-best-practices),
including the "tests should be minimal" section. (Usually running Python
code
    and using the instructions it generates is not minimal.)
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.

[PT 2.8] GCC compiler warning from triton strncat

3 participants