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

[BUG] CAGRA 'merge' API compilation error under CUDA 12.4 #694

Open
rhdong opened this issue Feb 14, 2025 · 0 comments
Open

[BUG] CAGRA 'merge' API compilation error under CUDA 12.4 #694

rhdong opened this issue Feb 14, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rhdong
Copy link
Member

rhdong commented Feb 14, 2025

100/378] Building CUDA object CMakeFiles/cuvs-cagra-search.dir/src/neighbors/cagra_search_int8.cu.o
FAILED: CMakeFiles/cuvs-cagra-search.dir/src/neighbors/cagra_search_int8.cu.o 
/usr/local/cuda-12.4/bin/nvcc -forward-unknown-to-host-compiler -DCUTLASS_NAMESPACE=raft_cutlass -DFMT_HEADER_ONLY=1 -DLIBCUDACXX_ENABLE_EXPERIMENTAL_MEMORY_RESOURCE -DNVTX_ENABLED -DRAFT_LOG_ACTIVE_LEVEL=RAFT_LOG_LEVEL_INFO -DRAFT_SYSTEM_LITTLE_ENDIAN=1 -DSPDLOG_FMT_EXTERNAL -DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_CUDA -DTHRUST_DISABLE_ABI_NAMESPACE -DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -DTHRUST_IGNORE_ABI_NAMESPACE_ERROR -I/home/searchscale/code/cuvs-api/cuvs/cpp/include -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/raft-src/cpp/include -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/rmm-src/include -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/rmm-build/include -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/cccl-src/thrust/thrust/cmake/../.. -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/cccl-src/libcudacxx/lib/cmake/libcudacxx/../../../include -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/cccl-src/cub/cub/cmake/../.. -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/fmt-src/include -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/cuco-src/include -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/nvidiacutlass-src/include -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/nvidiacutlass-build/include -I/home/searchscale/code/cuvs-api/cuvs/cpp/build/_deps/raft-build/include -isystem /usr/local/cuda-12.4/targets/x86_64-linux/include -isystem /home/searchscale/miniforge3/include -isystem /usr/local/cuda-12.4/include -O3 -DNDEBUG -std=c++17 "--generate-code=arch=compute_75,code=[sm_75]" -Xcompiler=-fPIC -Xcompiler=-Wno-deprecated-declarations -DRAFT_HIDE_DEPRECATION_WARNINGS -Xcompiler=-Wall,-Werror,-Wno-error=deprecated-declarations,-Wno-reorder -Werror=all-warnings --expt-extended-lambda --expt-relaxed-constexpr -DCUDA_API_PER_THREAD_DEFAULT_STREAM -Xfatbin=-compress-all -Xcompiler=-fopenmp -MD -MT CMakeFiles/cuvs-cagra-search.dir/src/neighbors/cagra_search_int8.cu.o -MF CMakeFiles/cuvs-cagra-search.dir/src/neighbors/cagra_search_int8.cu.o.d -x cu -rdc=true -c /home/searchscale/code/cuvs-api/cuvs/cpp/src/neighbors/cagra_search_int8.cu -o CMakeFiles/cuvs-cagra-search.dir/src/neighbors/cagra_search_int8.cu.o
/home/searchscale/code/cuvs-api/cuvs/cpp/src/neighbors/detail/cagra/cagra_merge.cuh: In function ‘cuvs::neighbors::cagra::index<T, IdxT> cuvs::neighbors::cagra::detail::merge(const raft::resources&, const cuvs::neighbors::cagra::merge_params&, std::vector<cuvs::neighbors::cagra::index<T, IdxT>*>&)’:
/home/searchscale/code/cuvs-api/cuvs/cpp/src/neighbors/detail/cagra/cagra_merge.cuh:53:21: error: ‘__T23’ does not name a type
   53 |     using ds_idx_type = decltype(index->data().n_rows());
      |                     ^~~~~
/home/searchscale/code/cuvs-api/cuvs/cpp/src/neighbors/detail/cagra/cagra_merge.cuh:54:67: error: ‘__T23’ was not declared in this scope
   54 |     if (auto* strided_dset = dynamic_cast<const strided_dataset<T, ds_idx_type>*>(&index->data());
      |                                                                   ^~~~~
/home/searchscale/code/cuvs-api/cuvs/cpp/src/neighbors/detail/cagra/cagra_merge.cuh:54:72: error: template argument 2 is invalid
   54 |     if (auto* strided_dset = dynamic_cast<const strided_dataset<T, ds_idx_type>*>(&index->data());
      |                                                                        ^
/home/searchscale/code/cuvs-api/cuvs/cpp/src/neighbors/detail/cagra/cagra_merge.cuh:54:75: error: expected ‘>’ before ‘*’ token
   54 |     if (auto* strided_dset = dynamic_cast<const strided_dataset<T, ds_idx_type>*>(&index->data());
      |                                                                           ^
/home/searchscale/code/cuvs-api/cuvs/cpp/src/neighbors/detail/cagra/cagra_merge.cuh:54:75: error: expected ‘(’ before ‘*’ token
   54 |     if (auto* strided_dset = dynamic_cast<const strided_dataset<T, ds_idx_type>*>(&index->data());
      |                                                                           ^
      |                                                                           (
/home/searchscale/code/cuvs-api/cuvs/cpp/src/neighbors/detail/cagra/cagra_merge.cuh:54:76: error: expected primary-expression before ‘>’ token
   54 |     if (auto* strided_dset = dynamic_cast<const strided_dataset<T, ds_idx_type>*>(&index->data());
      |                                                                            ^
/home/searchscale/code/cuvs-api/cuvs/cpp/src/neighbors/detail/cagra/cagra_merge.cuh:54:94: error: expected ‘)’ before ‘;’ token
   54 |     if (auto* strided_dset = dynamic_cast<const strided_dataset<T, ds_idx_type>*>(&index->data());
      |                          ~                                                                   ^
      |                                                                                              )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

1 participant