Comments (5)
I believe that the correct thing to do would be to specify -DCMAKE_CXX_COMPILER=/path/to/gcc5/bin
. CMake should then correctly set the host compiler.
What version of CMake are you using?
from umpire.
I am using cmake3.12.1. I tried this by setting -DCMAKE_CXX_COMPILER=/path/to/gcc5/bin
. But enable_language(cuda)
seems to still use the gcc8 I have in my environment. I will try to load gcc5 to my environment as well.
from umpire.
If you set CMAKE_CXX_COMPILER
to be the g++ 5 executable, does it work?
from umpire.
Hi David,
set CMAKE_CXX_COMPILER
to g++5 does not help.
set CMAKE_CUDA_HOST_COMPILER
to g++5 fixed the issue.
I think it is CMake's issue by not picking up CUDA_NVCC_FLAGS
in the enable_language(cuda)
function.
I will close this issue, thank you for you help!
from umpire.
I overlooked this the first time, but the flag variable for CUDA flags changed - it's now CMAKE_CUDA_FLAGS
. Maybe that would be another fix.
from umpire.
Related Issues (20)
- Fix c++17 support HOT 2
- fmt bleeds out of Umpire HOT 3
- Namespace CMake targets
- Error: 'allocator_allocate_int_array_4d' and 'allocator_allocate_long_array_4d' for GENERIC 'allocate' at (1) are ambiguous
- Bad link for Build/Pass button in README file
- Remove obsolete configurations from .radias-ci folder HOT 1
- Make allocate API threadsafe when needed
- Out-of-memory error during program teardown deallocations HOT 4
- Different behavior between QuickPool and DynamicPool for PercentReleasableHWM HOT 1
- Integer overflow on allocations > 2GB in Fortran HOT 1
- Wrong usage of the -fcompare-debug-second gcc flag HOT 1
- Avoiding hardcoded install paths (e.g. `lib` vs `lib64`) HOT 1
- Lots of fmt formatter warnings that need to be silenced HOT 4
- Doxygen Link Broken on ReadTheDocs
- Camp warnings generated in HIP build HOT 4
- Zero-out Kernel HOT 1
- Add IPC Shared Mem recipe to the ReadTheDocs
- Simplify handling of mixed memory management (umpire and non-umpire memory) HOT 1
- Error (probably escalated warning) in fmt 10.2.1 when building with IBM clang 14.0.5 HOT 3
- Avoid overallocation when underlying allocation is guaranteed to be sufficiently aligned
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 umpire.