Skip to content

Building GPU Libraries #74

@llauriez

Description

@llauriez

Hello Zachary,

Thanks for the package!! I am trying to build the GPU libraries with the following

nvcc -O3 -gencode arch=compute_80,code=sm_80 \
                -gencode arch=compute_70,code=sm_70 \
                -gencode arch=compute_90,code=sm_90 \
                -std=c++17 -Xcompiler -fPIC --shared \
                -I../inst/include \
                -I${PATH_TO_EIGEN3}/eigen3 \
                -o ../inst/lib/RcppML_gpu.so \
                gpu_bridge_nmf.cu gpu_bridge_svd.cu gpu_bridge_cluster.cu gpu_bridge_utils.cu sp_gpu_bridge.cu \
                -lcublas -lcusparse -lcudart

and ran into two errors:

  1. issue:sp_gpu_bridge.cu:18:10: fatal error: RcppML/core/logging.hpp: No such file or directory
    18 | #include <RcppML/core/logging.hpp>
    This, I was able to resolve by creating a symlink
ln -s FactorNet RcppML
  1. The second issue is similar but from #include "streampress/gpu/spgpu_v2_adapter.cuh". I was unable to find any adapter.cuh file under "include/streampress".

I was wondering if you have any tips on resolving this issue. Thanks in advance for your time and help!

All the best,
Laurie

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