Git Product home page Git Product logo

Comments (5)

jakirkham avatar jakirkham commented on June 19, 2024

Some comments:

  • It appears we load libcufile.so.1. Where have we seen that in use?
  • AFAICT libcufile.so.0 is the typical name. So this looks good.
  • It looks like we fallback to libcufile.so. Does that show up in places where libcufile.so.0 isn't present?

from kvikio.

madsbk avatar madsbk commented on June 19, 2024

I have seen all of them in the wild :)
On my current workstation, I have libcufile.so, libcufile.so.0, libcufile.so.1.4.0, all pointing to the same library

from kvikio.

jakirkham avatar jakirkham commented on June 19, 2024

Have seen those 3:

  • Unversioned symlink ( libcufile.so ) - used in third-party development (not typically in runtime)
  • SOVERSION library ( libcufile.so.0 ) - used by third-party tools/libraries at runtime
  • Release versioned library ( libcufile.so.1.4.0 ) - (guessing?) for management of cuFile installed on system

Though haven't seen the SOVERSION bumped ( libcufile.so.1 ). Is that something that is showing up? If so, are there any more details about when it shows up?

from kvikio.

madsbk avatar madsbk commented on June 19, 2024

Sorry, I can't remember when I saw libcufile.so.1 :/

from kvikio.

wence- avatar wence- commented on June 19, 2024

We need to dlopen libcufile.so.0 and no other. libcufile.so is installed in "dev" mode always pointing at the most recent "ABI-versioned" .so. That in turn symlinks to the actual versioned library. If both libcufile.so.1 and libcufile.so.0 were to exist (I do not believe that they do) they are (by definition) ABI-incompatible. This would mean that it is not safe to use a library built against an old version of libcufile with a new version (because, say, struct layouts will have changed).

from kvikio.

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.