-
Notifications
You must be signed in to change notification settings - Fork 819
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] Disordered header files: detail::is_prefetch used before declaration. #1484
Comments
generally, we like to avoid including internal cute headers directly. is your issue resolved if you include |
Yes, it's resolved. Yet normal users could still get wrong. |
This issue has been labeled |
Describe the bug
Disordered header files (use before declaration) in latest CUTLASS version.
If
cute/algorithm/prefetch.hpp
was included, eventually it will includecutlass/include/cute/arch/copy_sm90_tma.hpp
.This included file uses
detail::is_prefetch<CopyOp>
whiledetail::is_prefetch
is defined incute/algorithm/prefetch.hpp
but not included yet.Including link:
cute/algorithm/prefetch.hpp
->
cute/tensor.hpp
->
cute/algorithm/copy.hpp
->
cutlass/include/cute/atom/copy_atom.hpp
->
cutlass/include/cute/atom/copy_traits_sm90_tma.hpp
Steps/Code to reproduce bug
Add
to any example file.
For example, in 57_hopper_grouped_gemm:
Expected behavior
Compilation error occurs:
Environment details (please complete the following information):
The text was updated successfully, but these errors were encountered: