Giter Site home page Giter Site logo

Comments (8)

ftynse avatar ftynse commented on May 13, 2024 1

No, we had other compilation problems with unsupported versions of GCC (>5.4), including problems in third-party dependences.

@cbalint13 note that CUDA does not support GCC>6.3 and you will likely run into further compilation errors even when this one is resolved

from tensorcomprehensions.

prigoyal avatar prigoyal commented on May 13, 2024

@ftynse does this look familiar at all?

from tensorcomprehensions.

ftynse avatar ftynse commented on May 13, 2024

The error message is misleading... Try moving the declaration of operator from line 513 to line 137 in schedule_tree.h. I see other compilation problems due to CUDA/GCC incompatibilities.

from tensorcomprehensions.

prigoyal avatar prigoyal commented on May 13, 2024

@cbalint13 we officially support gcc 5.4 and below for TC and like @ftynse mentioned, there will be other issue with build for higher gcc version. Do you have a strict requirement for gcc 8 or are you fine using gcc5.4?

from tensorcomprehensions.

cbalint13 avatar cbalint13 commented on May 13, 2024

@prigoyal @ftynse

  • As @ftynse recommended i used gcc53 strict for the very TC build. Yes now it builds. Other dependencies like llvm-tapir can stay on gcc8. However I use nvcc with gcc53 so gcc53 is always present in the enviroment.

  • I tried to pack TC (among caffe2, pytorch and others) using fedora28 standard compiler gcc ver 8. Usually distros (including fedora) always come with older "compat" libriaries so gcc8 is not strict a requirement.

Thank you all for the feedback !

from tensorcomprehensions.

cbalint13 avatar cbalint13 commented on May 13, 2024

@ftynse ,

  • Just to pushed the limits toward gcc8 and moved declaration 513 -> 137. TC now pass the compile with gcc8 ! However CUDA's nvcc still remains invoked with -ccbin=/usr/bin/gcc53 (there is no other way).

from tensorcomprehensions.

ftynse avatar ftynse commented on May 13, 2024

Just to pushed the limits toward gcc8 and moved declaration 513 -> 137. TC now pass the compile with gcc8 ! However CUDA's nvcc still remains invoked with -ccbin=/usr/bin/gcc53 (there is no other way).

Great! Do you mind submitting a patch with that change? I can do it myself if you prefer.

from tensorcomprehensions.

cbalint13 avatar cbalint13 commented on May 13, 2024

@ftynse ,

Yes i can do it.

from tensorcomprehensions.

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.