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

tl.device_print crashes on boolean data #3494

Open
alexbaden opened this issue Feb 22, 2025 · 0 comments · May be fixed by #3628
Open

tl.device_print crashes on boolean data #3494

alexbaden opened this issue Feb 22, 2025 · 0 comments · May be fixed by #3628
Assignees

Comments

@alexbaden
Copy link
Contributor

Describe the bug

C0_NCOLS : tl.constexpr = 32
mask_c0_y = tl.arange(0, C0_NCOLS) < 1 # only take the first element in each row, 0 to 32
tl.device_print("mask_c0_y ", mask_c0_y)

crashes

tl.device_print("mask_c0_y ", mask_c0_y.to(tl.float32))

works

Environment details

Triton main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants