]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] CUDA: remove code performing kernel registration
authorGhjuvan Lacambre <lacambre@adacore.com>
Mon, 28 Mar 2022 14:40:46 +0000 (16:40 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 17 May 2022 08:25:49 +0000 (08:25 +0000)
commita51b6016c96e221fbbfcdf75baa87fcdbc0a2904
tree8fda3b668f1d08d7adcc6f03c23e8ceb6c91ba32
parent5ab656c5e90219ce2d11a9c88d06ff927b275297
[Ada] CUDA: remove code performing kernel registration

A previous commit implemented a new kernel registration scheme, using
the binder to generate registration code rather than inserting
registration code in packages.  Now that this new approach has had time
to be thoroughly tested, it is time to remove the old approach.

gcc/ada/

* gnat_cuda.ads: Update package-level comments.
(Build_And_Insert_CUDA_Initialization): Remove function.
* gnat_cuda.adb (Build_And_Insert_CUDA_Initialization): Remove
function.
(Expand_CUDA_Package): Remove call to
Build_And_Insert_CUDA_Initialization.
gcc/ada/gnat_cuda.adb
gcc/ada/gnat_cuda.ads