[Ada] CUDA: discover runtime types instead of hard-coding
authorGhjuvan Lacambre <lacambre@adacore.com>
Tue, 25 Aug 2020 10:16:24 +0000 (12:16 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 22 Oct 2020 12:11:27 +0000 (08:11 -0400)
commitf0c57fcd0a50c9f96ee108c9299eed22e639f354
tree7b0eb6e6ea48856f2fe66d1703d6d47c601e72ec
parentd4194d74faee24c9bded05ba1b523e52f8b40bf0
[Ada] CUDA: discover runtime types instead of hard-coding

gcc/ada/

* exp_prag.adb (Get_Launch_Kernel_Arg_Type): New function.
(Build_Shared_Memory_Declaration): Use
Get_Launch_Kernel_Arg_Type.
(Build_Stream_Declaration): Use Get_Launch_Kernel_Arg_Type.
* rtsfind.ads: Remove RO_IC_Unsigned_Long_Long.
gcc/ada/exp_prag.adb
gcc/ada/rtsfind.ads