-
Notifications
You must be signed in to change notification settings - Fork 85
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
Building failed when Windows 11 + CUDA 12.5 + MSVC 19.41 + CMake 3.29.4 + "STDGPU_BACKEND=STDGPU_BACKEND_CUDA" #417
Comments
As long as |
I can reproduce these compilation errors on Ubuntu 22.04 + CUDA 12.5 + latest commit from master branch. Furthermore, only the CUDA backend seems to be affected and, more precisely, I suspect that the problem might be locally somewhere in thrust since several CUDA-only expressions coming from there are incorrectly used during the compilation of a A very similar error in Open3D has also been reported but within a different part of it: isl-org/Open3D#6813 |
I saw the same issue when I built Open3D when turning -DBUILD_CUDA_MODULE=ON In file included from /usr/local/cuda/include/cuda/std/detail/libcxx/include/__cuda/ptx/instructions/barrier_cluster.h:30, |
|
Using nvcc instead of g++ (or any other supported host compiler) would workaround the problem, but this is not the root cause of this issue. I did some further investigations and it looks like the error disappears with thrust 2.5.0 again. Although I would still need test it more thoroughly for confirmation, chances are that CUDA 12.6 could include this newer thrust version and, in turn, a proper fix. |
I think i have a similar problem with CUDA 12.6 (thrust 2.5.0), but not exactly the same. Seems to be also related to thrust though around the specialization of
I used it before with CUDA 12.3 and compilation was fine |
Describe the bug
Building VS project failed when the backend is CUDA 12.5.
Steps to reproduce
STDGPU_BACKEND
equaling toSTDGPU_BACKEND_CUDA
.Expected behavior
Building succeed.
Actual behavior
Building failed.
CMake configuration output:
VS building output:
System:
The text was updated successfully, but these errors were encountered: