Git Product home page Git Product logo

Comments (8)

davidssmith avatar davidssmith commented on August 20, 2024

Maybe a version mismatch?

This issue is preventing me from building the CUDA kernels for Knet.jl.

denizyuret/Knet.jl#227

from cudaapi.jl.

maleadt avatar maleadt commented on August 20, 2024

CUDA 9.1 does not support GCC 7.

from cudaapi.jl.

maleadt avatar maleadt commented on August 20, 2024

I guess the error message could be better though.

from cudaapi.jl.

davidssmith avatar davidssmith commented on August 20, 2024

Do you mean officially? Because my own CUDA kernels compile just fine.

Edit: Nevermind, I'm an idiot. They were using clang.

from cudaapi.jl.

davidssmith avatar davidssmith commented on August 20, 2024

For others with this problem, I solved it by running apt install gcc-6 g++-6 on my Ubuntu 17.10 machine. Now the tests pass.

from cudaapi.jl.

maleadt avatar maleadt commented on August 20, 2024

I solved it by running apt install gcc-6 g++-6 on my Ubuntu 17.10 machine

Great 🙂

Yeah, you can find that info in the installation guide: http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html (although the actual headers are a little more lenient)

from cudaapi.jl.

davidssmith avatar davidssmith commented on August 20, 2024

I skipped that since I had been using clang. I guess CUDAapi doesn't have that option?

from cudaapi.jl.

maleadt avatar maleadt commented on August 20, 2024

Right now, no. Clang support is fairly new. Shouldn't be too hard to add though, in case you want to avoid installing GCC 6.

from cudaapi.jl.

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.