Comments (6)
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.
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.
-
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 overridesstd::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.
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.
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.
This issue is out of date
from config.
Related Issues (20)
- Header macros not being set very correctly under clang-cl with cxxstd=17 or latest when using VS2022 STL
- No macro for <version> HOT 2
- Macro misspellings in libcpp.hpp
- Missing BOOST_NO_CXX11_HDR_SCOPED_ALLOCATOR
- Autolink not working in VS2022 vs 17.0.6 HOT 2
- No BOOST_NO_CXX11_ALIGNOF HOT 4
- NVIDIA C++ compiler -cuda option triggers incompatible redefiniton of BOOST_COMPILER
- Support for IAR compiler HOT 1
- "Unknown compiler version" for Visual Studio 16 2019 HOT 2
- BOOST_HAS_INT128 not defined on clang-cl HOT 4
- Delete merged/stale branches HOT 1
- Configuration doesn't work correctly with clang on Linux HOT 5
- [MSVC][std:c++latest] Boost\libs\config run tests failed due to error C2666: 'boost_no_cxx11_unified_initialization_syntax::IdString::operator ==': overloaded functions have similar conversions HOT 3
- Missing define BOOST_NO_CXX11_NULLPTR on OSX with libstdc++ HOT 2
- New error for CLR projects which have no SFINAE HOT 2
- CMake - "lib" prefix bug in implibs of MSVC HOT 3
- BOOST_HAS_BUILTIN/BOOST_HAS_INCLUDE
- missing version macros
- missing header macros for C++23
- Outdated defect macros for Haiku HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from config.