[BUG] Broken copy.hpp
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.5k
- Forks
- 2.1k
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 7
Description
Describe the bug
I can't compile cute/copy.hpp. Get error:
cutlass/include/cute/atom/copy_traits_sm90_tma.hpp(73): error: namespace "cute::detail" has no member "is_prefetch"
Steps/Code to reproduce bug
test.cu
#include <cute/algorithm/copy.hpp>
/usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -I/usr/local/cuda/include -Icontrib/cutlass/include -Icontrib/cutlass/tools/util/include -g --generate-code=arch=compute_89,code=[compute_89,sm_89] -x cu -c test.cu -o test.cu.o
contrib/cutlass/include/cute/atom/copy_traits_sm90_tma.hpp(71): error: namespace "cute::detail" has no member "is_prefetch"
if constexpr (detail::is_prefetch<CopyOp>) {
^
contrib/cutlass/include/cute/atom/copy_traits_sm90_tma.hpp(71): error: type name is not allowed
if constexpr (detail::is_prefetch<CopyOp>) {
^
contrib/cutlass/include/cute/atom/copy_traits_sm90_tma.hpp(71): error: expected an expression
if constexpr (detail::is_prefetch<CopyOp>) {
^
3 errors detected in the compilation of "test.cu".
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with test.cu and the provided nvcc command, then inspect contrib/cutlass/include/cute/atom/copy_traits_sm90_tma.hpp around the detail::is_prefetch reference. Trace where the referenced trait is expected to be defined and verify that the include compiles without the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100