diff options
| author | Artem Belevich <tra@google.com> | 2015-09-22 17:22:59 +0000 |
|---|---|---|
| committer | Artem Belevich <tra@google.com> | 2015-09-22 17:22:59 +0000 |
| commit | 94a55e8169a1e82a2cf954e0495a899cfddee1ac (patch) | |
| tree | bba03a45a4e331114ae3a5ee7a85db612369823b /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 81616a72ea53175f23931b34a1372c7cafb80736 (diff) | |
[CUDA] Allow function overloads in CUDA based on host/device attributes.
The patch makes it possible to parse CUDA files that contain host/device
functions with identical signatures, but different attributes without
having to physically split source into host-only and device-only parts.
This change is needed in order to parse CUDA header files that have
a lot of name clashes with standard include files.
Gory details are in design doc here: https://goo.gl/EXnymm
Feel free to leave comments there or in this review thread.
This feature is controlled with CC1 option -fcuda-target-overloads
and is disabled by default.
Differential Revision: http://reviews.llvm.org/D12453
llvm-svn: 248295
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
