aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-cppbuiltin.cc
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2022-09-12 15:31:19 -0700
committerMarc Poulhiès <poulhies@adacore.com>2022-09-26 11:02:30 +0200
commit37645e2cd752e2dddcf52d70dc20eadda3e44171 (patch)
tree9a230bb9fd2405a1dbf5bb037e6667f3dc73acd2 /gcc/c-family/c-cppbuiltin.cc
parent6b8e3ee10fb7c15a79ebb8739a1fca3b2a62c706 (diff)
downloadgcc-37645e2cd752e2dddcf52d70dc20eadda3e44171.zip
gcc-37645e2cd752e2dddcf52d70dc20eadda3e44171.tar.gz
gcc-37645e2cd752e2dddcf52d70dc20eadda3e44171.tar.bz2
ada: Improve CUDA host-side and device-side binder support
Binder-generated code is not allowed to use Ada2012 syntax. In order to specify an aspect, a pragma must be used. gcc/ada/ * bindgen.adb: When the binder is invoked for the device, specify the CUDA_Global aspect for the adainit and adafinal procedures via a pragma instead of via an aspect_specification.
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.cc')
0 files changed, 0 insertions, 0 deletions