[PATCH] D24977: [CUDA] Declare our __device__ math functions in the same inline namespace as our standard library.
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 27 13:05:50 PDT 2016
tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.
That is way too much knowledge about details of standard library implementation.
If it changes, I suspect users will end up with a rather uninformative error.
Is there a way to produce somewhat more sensible error if/when our assumptions about namespaces are violated?
We could whitelist libc++/libstdc++ version we've tested with and produce #warning "Unsupported standard library version" if we see something else.
More information about the cfe-commits