-
Notifications
You must be signed in to change notification settings - Fork 1k
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] right_inverse with 1d layout results "#2700-D: attempt to access expired storage" on constexpr return value. #1285
Comments
Weird one, but I think I know where this is coming from. I'll include a fix in the next CuTe review |
This issue has been labeled |
This issue has been labeled |
I do get a lot of warnings with MSVC about CuTe functions returning temporary storage. I suspect MSVC doesn't follow the reference forwarding rules of other compilers |
This issue has been labeled |
Commenting so the friendly bot doesn't auto-close this issue. |
This issue has been labeled |
comment to avoid auto-close |
@ccecka has this been fixed? |
Doesn't appear to be, no. |
This issue has been labeled |
@ccecka Still no fix? I got a problem probably relevant to this when I tried to make root@5bfb1ac7e7b2:/mnt# gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@5bfb1ac7e7b2:/mnt# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Mar_28_02:18:24_PDT_2024
Cuda compilation tools, release 12.4, V12.4.131
Build cuda_12.4.r12.4/compiler.34097967_0 |
question, are you using the build flags generated by the CUTLASS CMake? |
Thanks @thakkarV. I am new to this. Could you please point me to those build flags? I was simply adding |
More specifically, was there any problem to make this |
we dont support custom cmake configs. please use the one that is in our repo. |
But... Eventually the user will write their own scripts for building the program, right? Could you please point me to the key CMake files where those build flags were set? |
No, that's not the case. if you are importing CUTLASS through your own project, then you can https://stackoverflow.com/questions/56561591/link-one-project-to-another-cmake |
Describe the bug
Steps/Code to reproduce bug
compile the code cause
remove the
constexpr
however, the program compiles smoothly and prints_2:_1
Expected behavior
It compiles.
Environment details (please complete the following information):
reproduced with cuda 11.8 and 12.1
Additional context
a75b4ac
The text was updated successfully, but these errors were encountered: