Giter Site home page Giter Site logo

Comments (6)

jzmaddock avatar jzmaddock commented on August 22, 2024

Oh :(

Unfortunately the original bug report that led to that define being set was reproduced using msvc as the host compiler - see https://svn.boost.org/trac/boost/ticket/13049.

from config.

jzmaddock avatar jzmaddock commented on August 22, 2024

I don't have CUDA 8 installed at present, and have no great desire to "downgrade", I wonder can you:

  • Reproduce the original bug report linked above?
  • Does using #if (BOOST_CUDA_VERSION >= 8000000) && (BOOST_CUDA_VERSION < 8010000) && defined( __CUDA_ARCH__) fix both the original issue and your test case? In other words is the workaround required for device code only?

from config.

Chachay avatar Chachay commented on August 22, 2024
  • I could reproduce the original bug under my environment. Just I had to handle this issue at cmake option

  • My case is related to boost::system::error_category::std_category::name which overrides std::error_category::name, and "BOOST_NO_CXX11_NOEXCEPT" is directly harm on this overrides. Making CUDA 8.0 pretend as 8.2 have a good result. What I suggested was only about compiler code (msvc or GCC...). But I understood that this issue is not so easy...

I didn't get the link between the original bug and BOOST_NO_CXX11_NOEXCEPT. Give me a time to digest..


At least, CLANG has no trouble with the original bug??
ComputationalRadiationPhysics/picongpu#2048 (comment)

from config.

jzmaddock avatar jzmaddock commented on August 22, 2024

At least, CLANG has no trouble with the original bug??

Apparently so: actually I had no idea that clang was capable of compiling CUDA device code (as opposed to just working as a host compiler). I'm fairly sure that some more fixes will be needed to support that.

I've been able to reproduce the issue, and am stuck as we now have two different bug reports requiring completely opposite actions.

My suggestion to restrict the original fix to device code didn't work either - apparently the issue occurs inside the EDG compiler front end while splitting device and host code apart - which is evidently more than just a preprocessing phase.

CUDA-9 is fine BTW.

from config.

Chachay avatar Chachay commented on August 22, 2024

For my side, no news.. and I stucked at the similar place (yet I do not have enough knowledge about EDG compiler)

Just switching to CUDA9 would be the easiest solution, but, because Windows CUDA 9's setup.exe does not work stably, if I think of setting up a CI environment on Appveyor, I prefer CUDA8... :S

from config.

Chachay avatar Chachay commented on August 22, 2024

This issue is out of date

from config.

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.