Comments (2)
I think I will make this change, but there is a catch here:
- As things stand, clang is configured as gcc, but since it only claims to be gcc-4.2 a rather limited number of features get enabled.
- If we configure as clang, then we might possibly enable features which are not supported by the nvcc front end - unfortunately nvcc doesn't just pre-process the .cu files to split out host and device code, it actually passes then through it's compiler (or something like a compiler). As a result if we use a language feature that's unknown to the latest gcc version supported by nvcc, then it's also unknown to the nvcc front end and results in an error.
Fortunately, latest releases of nvcc seem to be reasonable feature complete, so hopefully this won't result in too many issues. I predict ructions come C++20 though :(
from config.
.... Normally the ultimate fix for complex setups is to use the configure script to generate a custom config, would need to use the -x cu
option to nvcc so that the .cpp files are treated as .cu files.
from config.
Related Issues (20)
- 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
- VS 2022 v17.10
- Missing features of C++/CLI seems to be flagged erroneously 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.