[BUG]: example.cu does not compile docs.rapids.ai/api/libcuproj, nvcc 12.6 name followed by "::" must be a class or namespace name #1500
Labels
bug
Something isn't working
External
Issues filed by people outside the team
Needs Triage
Need team to review and classify
Version
cuspatial-branch-24.12
On which installation method(s) does this occur?
Source
Describe the issue
The CUDA example on
https://docs.rapids.ai/api/libcuproj/stable/index.html
fails to compile with nvcc V12.6.68
The first, of 85:-(, errors is
../cuspatial/include/rmm/mr/device/device_memory_resource.hpp(312): error: name followed by "::" must be a class or namespace name
friend void get_property(device_memory_resource const&, cuda::mr::device_accessible) noexcept {}
Command lines:
setenv PATH /opt/cuda/cuda-12.6/bin/:"$PATH"
setenv LD_LIBRARY_PATH /opt/cuda/cuda-12.6/lib64:"$LD_LIBRARY_PATH"
nvcc --version
nvcc
-I../cuspatial/cpp/cuproj/include
-I../cuspatial/include
-arch=all
-c example.cu -o example.cu.o
I guess I am missing an #include ?
All being well full output is attached
example_fails.bat.txt
Minimum reproducible example
Relevant log output
Environment details
Other/Misc.
No response
The text was updated successfully, but these errors were encountered: