Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

implement a c++ operator using other outside functions in 'so' file #17539

Description

@ziqi-wlb

When I write a c++ operator, I want to use functions of my 'so' file. I have add -L /usr/lib -lmy_so_file -ldl to g++, nvcc line of 'config.mk'. But when I build mxnet, got error undefined reference to xxx_function. The 'xxx_function' is added in xxx-inl.h. And the 'so' file test right independently.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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