This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[0/2] OpenACC routine support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]