[PATCH 3/4] [GOMP4] [Fortran] OpenACC 1.0+ support in fortran front-end

Ilmir Usmanov i.usmanov@samsung.com
Fri Mar 7 10:46:00 GMT 2014


     OpenACC 1.0 fortran FE support -- translation to GENERIC.

     gcc/fortran/
     * trans-decl.c
     (gfc_generate_function_code): Insert OACC_DECLARE GENERIC node.
     * trans-openmp.c (gfc_convert_expr_to_tree): New helper function.
     (gfc_trans_omp_array_reduction): Support also OpenACC. Add parameter.
     (gfc_trans_omp_reduction_list): Update.
     (gfc_trans_oacc_construct): New transform function.
     (gfc_trans_omp_map_clause_list): Likewise.
     (gfc_trans_oacc_executable_directive): Likewise.
     (gfc_trans_oacc_combined_directive, gfc_trans_oacc_declare): Likewise.
     (gfc_trans_oacc_directive): Use them.
     (gfc_trans_oacc_loop): Stub.
     (gfc_trans_omp_clauses): Transform OpenACC clauses.
     * trans-stmt.h  (gfc_trans_oacc_directive): New function prototype.
     (gfc_trans_oacc_declare): Likewise.
     * trans.c (trans_code): Transform also OpenACC directives.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-OpenACC-Fortran-FE-part-3.patch
Type: text/x-diff
Size: 15180 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140307/5247de21/attachment.bin>


More information about the Gcc-patches mailing list