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

cuda 12 build fails with missing header pinned_allocator.h #80

Open
rfox-mbl opened this issue Oct 19, 2023 · 0 comments
Open

cuda 12 build fails with missing header pinned_allocator.h #80

rfox-mbl opened this issue Oct 19, 2023 · 0 comments

Comments

@rfox-mbl
Copy link

My builds against cuda 12 are failing with the following:

[ 9%] Building NVCC (Device) object _deps/genomeworks-build/cudaaligner/CMakeFiles/cudaaligner.dir/src/cudaaligner_generated_hirschberg_myers_gpu.cu.o In file included from /bioware/root/SOURCES/racon/1.5.0/builds/x86_64/racon-1.5.0/build/_deps/genomeworks-src/cudaaligner/src/batched_device_matrices.cuh:25, from /bioware/root/SOURCES/racon/1.5.0/builds/x86_64/racon-1.5.0/build/_deps/genomeworks-src/cudaaligner/src/hirschberg_myers_gpu.cuh:20, from /bioware/root/SOURCES/racon/1.5.0/builds/x86_64/racon-1.5.0/build/_deps/genomeworks-src/cudaaligner/src/hirschberg_myers_gpu.cu:17: /bioware/root/SOURCES/racon/1.5.0/builds/x86_64/racon-1.5.0/build/_deps/genomeworks-src/common/base/include/claraparabricks/genomeworks/utils/pinned_host_vector.hpp:20:10: fatal error: thrust/system/cuda/experimental/pinned_allocator.h: No such file or directory 20 | #include <thrust/system/cuda/experimental/pinned_allocator.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. CMake Error at cudaaligner_generated_hirschberg_myers_gpu.cu.o.Release.cmake:220 (message):

As far as I have been able to determine, not having knowledge of cuda development, it seems that the cuda libraries may have changed in version 12 but I haven't been able to find release notes that detail the change. Also, this looks like it's a bundled package so I'm not positive I'm reporting this in the right place. Nevertheless, my racon build is breaking since there is no experimental subdirectory in the thrust/system/cuda directory and hence no relevant include files.
https://github.com/NVIDIA/thrust/tree/main/thrust/system/cuda

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

No branches or pull requests

1 participant