Coder Social home page Coder Social logo

Comments (3)

jkfindeisen avatar jkfindeisen commented on May 22, 2024

For a more detailed description of the problem see for example: https://stackoverflow.com/questions/6538501/linking-two-shared-libraries-with-some-of-the-same-symbols

from gpufit.

superchromix avatar superchromix commented on May 22, 2024

The solution suggested on the stack overflow page: "Mark symbols with an appropriate visibility." would appear to be a good suggestion?

The .def files were used to avoid some earlier bugs we had with the binaries. They should stay for the time being.

from gpufit.

jkfindeisen avatar jkfindeisen commented on May 22, 2024

9481b93 limits the export of symbols on gcc. The performance comparison application does not crash anymore.

However, all symbols in the Gpufit library from the CUDA code are still exported. This is because FindCUDA in CMake has a problem. See https://gitlab.kitware.com/cmake/cmake/issues/17533.

One solution would be to use CUDA first class support directly in CMake (not via find_package) from CMake 3.8 on but this didn't work right out of the box. So I will do this later. See https://cmake.org/cmake/help/v3.8/release/3.8.html#cuda

from gpufit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.