Coder Social home page Coder Social logo

Comments (3)

tmcdonell avatar tmcdonell commented on July 22, 2024

Thanks for the heads up! I also haven't tried the package from apt in a long while because it always lagged so far behind. I guess I should try and make it work with that again.

I think that it is just the apt package which changes the directory structure... my cuda-9.1 install using the regular nvidia installer has the usual folder structure in /usr/local/cuda. We'll probably need a separate change to make accelerate-llvm-ptx understand the folder structure used by apt as well.

It is still looking for the nvvm directory because that is where the standard math library is located, which contains the implementations of sin(), cos(), etc.

from cuda.

fabricatedmath avatar fabricatedmath commented on July 22, 2024

Hey np!

So the initial structure of /usr/lib/cuda is:

/usr/lib/cuda$ ls
bin  include  lib64  nvvm  version.txt

bin, include, lib64 are all empty, nvvm contains libdevice
I set CUDA_PATH to be /usr/lib/cuda

I symlinked include as /usr/include and cuda built (because of missing cuda.h)

My simple executable compiled with accelerate-llvm-ptx, but wouldn't run because of missing ptxas at bin/ptxas so i symlinked bin as /usr/bin and everything ran.

Wasn't too bad

from cuda.

tmcdonell avatar tmcdonell commented on July 22, 2024

I think this is fixed and can be closed with AccelerateHS/accelerate#444

from cuda.

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.