[PATCH] D45212: [HIP] Let CUDA toolchain support HIP language mode and amdgpu
Jonas Hahnfeld via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 7 03:27:25 PDT 2018
Hahnfeld added a comment.
Can this revision be split further? The summary mentions many things that might make up multiple independent changes...
================
Comment at: lib/Driver/ToolChains/Cuda.cpp:263
+ // HIP needs c++11.
+ CC1Args.push_back("-std=c++11");
+ // Skip CUDA includes for HIP.
----------------
Will this override the user's value, e.g. `-std=c++14`?
https://reviews.llvm.org/D45212
More information about the cfe-commits
mailing list