[Ada] Implement CUDA_Device

Pierre-Marie de Rodat derodat@adacore.com
Mon Oct 4 08:48:20 GMT 2021


This commit removes entities marked with the CUDA_Device pragma from the
packages specs and bodies they exist in.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

	* gnat_cuda.adb (Remove_CUDA_Device_Entities): New function.
	(Expand_CUDA_Package): Call Remove_CUDA_Device_Entities.
	* gnat_cuda.ads (Expand_CUDA_Package): Expand documentation.
	* sem_prag.adb (Analyze_Pragma): Remove warning about
	CUDA_Device not being implemented.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 6048 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211004/3c64d3ad/attachment-0001.bin>


More information about the Gcc-patches mailing list