diff options
author | Ghjuvan Lacambre <lacambre@adacore.com> | 2020-08-27 11:27:00 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-10-23 04:24:51 -0400 |
commit | c12e23c46785088da90ffc6dcfaca0aada4f2fb6 (patch) | |
tree | 51bc00972e232783f469708eee8958ee67ff7e87 /gcc/ada/sigtramp.h | |
parent | 0e3ccc6a04100b9998920e82381bf566fc654b8d (diff) | |
download | gcc-c12e23c46785088da90ffc6dcfaca0aada4f2fb6.zip gcc-c12e23c46785088da90ffc6dcfaca0aada4f2fb6.tar.gz gcc-c12e23c46785088da90ffc6dcfaca0aada4f2fb6.tar.bz2 |
[Ada] CUDA: Use internal types instead of public ones
gcc/ada/
* exp_prag.adb (Get_Launch_Kernel_Arg_Type): Renamed to
Get_Nth_Arg_Type and made more generic.
(Build_Dim3_Declaration): Now builds a CUDA.Internal.Dim3
instead of a CUDA.Vector_Types.Dim3.
(Build_Shared_Memory_Declaration): Now infers needed type from
Launch_Kernel instead of using a hard-coded type.
(Expand_Pragma_CUDA_Execute): Build additional temporaries to
store Grids and Blocks.
* rtsfind.ads: Move Launch_Kernel from public to internal
package.
Diffstat (limited to 'gcc/ada/sigtramp.h')
0 files changed, 0 insertions, 0 deletions