Skip to content

cuda build error #944

@hyaihjq

Description

@hyaihjq

/usr/bin/ld: /home/dentafilm/hongyang/workspace/openppl_code/ppl.nn/pplnn-build/install/lib/libpplnn_cuda_static.a(cuda_device.cc.o): in function ppl::nn::cuda::CudaDevice::Init(int, ppl::common::NcclParam*, bool)': cuda_device.cc:(.text._ZN3ppl2nn4cuda10CudaDevice4InitEiPNS_6common9NcclParamEb+0x215): undefined reference to cublasLtCreate'
/usr/bin/ld: /home/dentafilm/hongyang/workspace/openppl_code/ppl.nn/pplnn-build/install/lib/libpplnn_cuda_static.a(cuda_device.cc.o): in function ppl::nn::cuda::CudaDevice::~CudaDevice()': cuda_device.cc:(.text._ZN3ppl2nn4cuda10CudaDeviceD2Ev+0x38): undefined reference to cublasLtDestroy'
/usr/bin/ld: /home/dentafilm/hongyang/workspace/openppl_code/ppl.nn/pplnn-build/install/lib/libpplnn_cuda_static.a(cuda_device.cc.o): in function ppl::nn::cuda::CudaDevice::~CudaDevice()': cuda_device.cc:(.text._ZN3ppl2nn4cuda10CudaDeviceD0Ev+0x36): undefined reference to cublasLtDestroy'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/yolov8ClsInfer.dir/build.make:173: yolov8ClsInfer] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/yolov8ClsInfer.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions