This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[0/2] OpenACC routine support
- From: Nathan Sidwell <nathan at acm dot org>
- To: Jakub Jelinek <jakub at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 2 Nov 2015 13:56:15 -0500
- Subject: [0/2] OpenACC routine support
- Authentication-results: sourceware.org; auth=none
The following pair of patches add support for routines.
01-trunk-routine-code-1102.patch: Compiler changes
02-trunk-routine-tests-1102.patch: Tests
The changes are pretty straight forwards, as the execution model patch set laid
the groundwork. Routines are decorated with the 'oacc routine' pragma, so they
go through essentially the same processing as a parallels region, except of
course they're already a device-side function.
As with existing offloading the design is forward compatible with device_type
support, which would operate in the same manner as an openacc offloaded region
function WRT processing the attribute.
nathan