Giter Site home page Giter Site logo

Comments (3)

MrBurmark avatar MrBurmark commented on August 17, 2024

Hello, it looks like you figured out how to get that older version of gcc to work, but you might want to use a newer version if possible.
I see that cuda graph support with cuda 10.0 is broken, but it should work with cuda 10.1 or higher. If you are not interested in cuda graphs a quick fix is to disable cuda graphs by commenting out the line here

#define COMB_ENABLE_CUDA_GRAPH
. I'll update this to fix cuda 10.0, but if you are interested in cuda graphs performance I recommend using a cuda version of 10.2 or higher.

from comb.

Budding0828 avatar Budding0828 commented on August 17, 2024

@MrBurmark Thanks for your reply, it really helps!!!
I use gcc 5.5.0 and cuda 10.1 this time, and the above problems did not occur.

But I still get a lot of errors when compiling the google test.

...
/GPUFS/demo/benchmark/comb_back/blt/thirdparty_builtin/googletest-master-2020-01-07/googletest/include/gtest/internal/gtest-internal.
h:349:50: error:‘const union testing::internal::FloatingPoint<float>::FloatingPointUnion’ has no member named ‘bits_’
     return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_)

/GPUFS/demo/benchmark/comb_back/blt/thirdparty_builtin/googletest-master-2020-01-07/googletest/include/gtest/internal/gtest-internal.h:9
74:8: error:no type named ‘type’ in ‘struct testing::internal::IsRecursiveContainerImpl<int, false>’
 struct IsRecursiveContainer : public IsRecursiveContainerImpl<C>::type {};
        ^
...

There are lots of errors, so I turn off the ENABLE_GTEST in CMakeCache.txt, and it can compile successfully.

//Enable Google Test testing support (if ENABLE_TESTS=ON)
ENABLE_GTEST:BOOL=OFF

Is the google test need more dependence? Or still the problem of my environment?

Thank you sincerely for your help :)

from comb.

MrBurmark avatar MrBurmark commented on August 17, 2024

I have not seen such errors when compiling google test, so I can only recommend trying a different or more recent compiler.
On the other hand comb doesn't have any tests so disabling google test will only disable the blt tests.

from comb.

Related Issues (7)

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.