Giter Club home page Giter Club logo

Comments (6)

fyu avatar fyu commented on August 12, 2024

Updating cuDNN to 4.0 may solve the problem.

from marvin.

lfwin avatar lfwin commented on August 12, 2024

I am also have this problem, my cudnn version is cudnn-7.0-linux-x64-v4.0-rc.tgz, and cudnn file is placed in /usr/local/cudnn/v4/, also i modified marvin.hpp, this line:
#include </usr/local/cudnn/v4/include/cudnn.h>
but also got errors:
marvin.hpp(6266): error: argument of type "const void *" is incompatible with parameter of type "cudnnTensorDescriptor_t"

marvin.hpp(6276): error: argument of type "half *" is incompatible with parameter of type "double"

marvin.hpp(6278): error: argument of type "double" is incompatible with parameter of type "const void *"

marvin.hpp(6279): error: too many arguments in function call

marvin.hpp(6509): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(6837): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(6912): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(6922): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(2421): error: namespace "std::this_thread" has no member "sleep_for"
detected during instantiation of "marvin::Tensor::Tensor(std::string, int) [with T=half]"
(3216): here

marvin.hpp(2567): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(2589): error: namespace "std::this_thread" has no member "sleep_for"

12 errors detected in the compilation of "/tmp/tmpxft_0000fd06_00000000-9_marvin.cpp1.ii".

from marvin.

fyu avatar fyu commented on August 12, 2024

@lfwin Your cudnn is release candidate. You have to go to cuDNN website to download the official release.

from marvin.

lfwin avatar lfwin commented on August 12, 2024

Hi, fyu.
I am just change cudnn from release candidate to official release, errors number reduced to 8:
marvin.hpp(2202): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(6509): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(6837): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(6912): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(6922): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(2421): error: namespace "std::this_thread" has no member "sleep_for"
detected during instantiation of "marvin::Tensor::Tensor(std::string, int) [with T=half]"
(3216): here

marvin.hpp(2567): error: namespace "std::this_thread" has no member "sleep_for"

marvin.hpp(2589): error: namespace "std::this_thread" has no member "sleep_for"

8 errors detected in the compilation of "/tmp/tmpxft_00011b42_00000000-9_marvin.cpp1.ii".

from marvin.

fyu avatar fyu commented on August 12, 2024

That looks like your compiler is not supporting c++11 well enough.

from marvin.

lfwin avatar lfwin commented on August 12, 2024

Hi, fyu
Thank you very much. Solved this by update g++ 4.73 to g++ 4.8.

from marvin.

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.