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

[BUG/DOCS] Outdated Heuristics Docs #4753

Open
jon-chuang opened this issue Sep 18, 2024 · 1 comment
Open

[BUG/DOCS] Outdated Heuristics Docs #4753

jon-chuang opened this issue Sep 18, 2024 · 1 comment

Comments

@jon-chuang
Copy link
Contributor

jon-chuang commented Sep 18, 2024

@triton.heuristics(values={'BLOCK_SIZE': lambda args: 2 ** int(math.ceil(math.log2(args[1])))})

Should be args['x_size'] i.e. index by arg name not arg pos

@jon-chuang jon-chuang changed the title [DOCS] Outdated Heuristics Docs [BUG/DOCS] Outdated Heuristics Docs Sep 18, 2024
@Jokeren
Copy link
Contributor

Jokeren commented Sep 18, 2024

agree

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

No branches or pull requests

2 participants