From: Alexey Bataev Date: Tue, 5 Feb 2019 20:38:36 +0000 (+0000) Subject: [DOCS]Support for emission of the debug info for the Cuda devices, NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e60b1d17e730b5f7dab79a460de428d2df19e28f;p=clang [DOCS]Support for emission of the debug info for the Cuda devices, NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@353214 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/OpenMPSupport.rst b/docs/OpenMPSupport.rst index 7b567c966e..a8bfddce63 100644 --- a/docs/OpenMPSupport.rst +++ b/docs/OpenMPSupport.rst @@ -101,7 +101,7 @@ between the threads in the parallel regions. Collapsed loop nest counter --------------------------- -When using the collapse clause on a loop nest the default behaviour is to +When using the collapse clause on a loop nest the default behavior is to automatically extend the representation of the loop counter to 64 bits for the cases where the sizes of the collapsed loops are not known at compile time. To prevent this conservative choice and use at most 32 bits, @@ -124,5 +124,8 @@ Features not supported or with limited support for Cuda devices - Automatic translation of math functions in target regions to device-specific math functions is not implemented yet. -- Debug information for OpenMP target regions is not supported yet. +- Debug information for OpenMP target regions is supported, but sometimes it may + be required to manually specify the address class of the inspected variables. + In some cases the local variables are actually allocated in the global memory, + but the debug info may be not aware of it. diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index 67472f2a50..578dc1079b 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -133,11 +133,12 @@ ABI Changes in Clang OpenMP Support in Clang ---------------------------------- -- ... +- Added emission of the debug information for NVPTX target devices. CUDA Support in Clang --------------------- +- Added emission of the debug information for the device code. Internal API Changes --------------------