Skip to content

Error during compilation #1

Description

@Ephemeral1y

I encountered an error while compiling the project after adding dependencies for HEonGPU, GPU-NTT, and GPU-FFT. The issue arises with the following error:

cmake --build ./build/                                                                                                                                                                                                       ─╯
[ 25%] Building CUDA object src/pirongpu/CMakeFiles/pirongpu.dir/lib/pir.cu.o
/usr/local/include/rmm/mr/device/device_memory_resource.hpp(310): error: name followed by "::" must be a class or namespace name
    friend void get_property(device_memory_resource const&, cuda::mr::device_accessible) noexcept {}
                                                                  ^

Additionally, when including #include "heongpu.cuh", the HEonGPU library cannot be directly located. After modifying the CMakeLists.txt file to include these dependencies like include_directories("/usr/local/include/HEonGPU-1.0"), the compilation triggers the above error related to RMM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions