[Ada] Implement expansion of CUDA_Execute pragma
authorGhjuvan Lacambre <lacambre@adacore.com>
Wed, 24 Jun 2020 15:12:19 +0000 (17:12 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 16 Oct 2020 07:34:54 +0000 (03:34 -0400)
commit524301457dd42c12bb76dc4ff47d8e270e39ef65
tree51dd3f2d8d06aac3727dac2aa91c64be0ceebe48
parent54690b9871d742bb322d28f7c1c4fa8b81cf94e6
[Ada] Implement expansion of CUDA_Execute pragma

gcc/ada/

* elists.ads (New_Elmt_List): New functions.
* elists.adb (New_Elmt_List): New functions.
* exp_prag.adb: Add dependency on Elists.
(Expand_Pragma_CUDA_Execute): New function.
(Expand_N_Pragma): Add call to Expand_Pragma_CUDA_Execute.
* rtsfind.ads: Add CUDA.Internal, CUDA.Runtime, System.C
packages and RE_Push_Call_Configuration,
RE_Pop_Call_Configuration, RE_Launch_Kernel, RO_IC_Unsigned,
RO_IC_Unsigned_Long_Long entities.
* rtsfind.adb: Extend Interfaces_Descendant to include
Interfaces_C.
gcc/ada/elists.adb
gcc/ada/elists.ads
gcc/ada/exp_prag.adb
gcc/ada/rtsfind.adb
gcc/ada/rtsfind.ads