gcc/libgomp/testsuite/libgomp.oacc-fortran
Cesar Philippidis db941d7ef7 tree-nested.c (convert_nonlocal_omp_clauses): Add support for OMP_CLAUSE_{NUM_GANGS,NUM_VECTORS,VECTOR_LENGTH,SEQ}.
gcc/
	* tree-nested.c (convert_nonlocal_omp_clauses): Add support for
	OMP_CLAUSE_{NUM_GANGS,NUM_VECTORS,VECTOR_LENGTH,SEQ}.
	(convert_local_omp_clauses): Likewise.

	gcc/fortran/
	* f95-lang.c (gfc_attribute_table): Add an "oacc function"
	attribute.
	* gfortran.h (symbol_attribute): Add an oacc_function bit-field.
	(gfc_oacc_routine_name): New struct;
	(gfc_get_oacc_routine_name): New macro.
	(gfc_namespace): Add oacc_routine_clauses, oacc_routine_names and
	oacc_routine fields.
	(gfc_exec_op): Add EXEC_OACC_ROUTINE.
	* openmp.c (OACC_ROUTINE_CLAUSES): New mask.
	(gfc_oacc_routine_dims): New function.
	(gfc_match_oacc_routine): Add support for named routines and the
	gang, worker vector and seq clauses.
	* parse.c (is_oacc): Add EXEC_OACC_ROUTINE.
	* resolve.c (gfc_resolve_blocks): Likewise.
	* st.c (gfc_free_statement): Likewise.
	* trans-decl.c (add_attributes_to_decl): Attach an 'oacc function'
	attribute and shape geometry for acc routine.

	gcc/testsuite/
	* gfortran.dg/goacc/routine-3.f90: New test.
	* gfortran.dg/goacc/routine-4.f90: New test.
	* gfortran.dg/goacc/routine-5.f90: New test.
	* gfortran.dg/goacc/routine-6.f90: New test.
	* gfortran.dg/goacc/subroutines: New test.

	libgomp/
	* libgomp.oacc-fortran/routine-5.f90: New test.
	* libgomp.oacc-fortran/routine-7.f90: New test.
	* libgomp.oacc-fortran/routine-9.f90: New test.

From-SVN: r231081
2015-11-30 11:09:33 -08:00
..
abort-1.f90 Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
abort-2.f90
acc_on_device-1-1.f90
acc_on_device-1-2.f
acc_on_device-1-3.f
asyncwait-1.f90
asyncwait-2.f90
asyncwait-3.f90
atomic_capture-1.f90 OpenACC atomic directive 2015-11-03 12:28:22 +01:00
atomic_rw-1.f90 OpenACC atomic directive 2015-11-03 12:28:22 +01:00
atomic_update-1.f90 OpenACC atomic directive 2015-11-03 12:28:22 +01:00
collapse-1.f90
collapse-2.f90
collapse-3.f90
collapse-4.f90
collapse-5.f90
collapse-6.f90
collapse-7.f90
collapse-8.f90
combined-directives-1.f90 Improve filenames for test cases of OpenACC combined directives 2015-10-29 10:03:40 +01:00
data-1.f90
data-2.f90
data-3.f90
data-4-2.f90
data-4.f90
data-already-1.f Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
data-already-2.f Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
data-already-3.f Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
data-already-4.f Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
data-already-5.f Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
data-already-6.f Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
data-already-7.f Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
data-already-8.f Add checkpoint to libgomp dg-shouldfail tests 2015-09-30 10:44:49 +02:00
declare-1.f90 dump-parse-tree.c (show_namespace): Handle declares. 2015-11-22 16:45:38 +00:00
declare-2.f90 dump-parse-tree.c (show_namespace): Handle declares. 2015-11-22 16:45:38 +00:00
declare-3.f90 dump-parse-tree.c (show_namespace): Handle declares. 2015-11-22 16:45:38 +00:00
declare-4.f90 dump-parse-tree.c (show_namespace): Handle declares. 2015-11-22 16:45:38 +00:00
declare-5.f90 dump-parse-tree.c (show_namespace): Handle declares. 2015-11-22 16:45:38 +00:00
fortran.exp
lib-1.f90
lib-2.f
lib-3.f
lib-4.f90
lib-5.f90
lib-6.f90
lib-7.f90
lib-8.f90
lib-10.f90
map-1.f90
openacc_version-1.f
openacc_version-2.f90
pointer-align-1.f90
pset-1.f90
reduction-1.f90 nvptx.c (nvptx_goacc_validate_dims): Add checking. 2015-11-04 20:48:05 +00:00
reduction-2.f90 nvptx.c (nvptx_goacc_validate_dims): Add checking. 2015-11-04 20:48:05 +00:00
reduction-3.f90 nvptx.c (nvptx_goacc_validate_dims): Add checking. 2015-11-04 20:48:05 +00:00
reduction-4.f90 nvptx.c (nvptx_goacc_validate_dims): Add checking. 2015-11-04 20:48:05 +00:00
reduction-5.f90 loop-red-g-1.c: New. 2015-11-04 17:01:23 +00:00
reduction-6.f90 nvptx.c (nvptx_goacc_validate_dims): Add checking. 2015-11-04 20:48:05 +00:00
routine-1.f90
routine-2.f90
routine-3.f90
routine-4.f90
routine-5.f90 tree-nested.c (convert_nonlocal_omp_clauses): Add support for OMP_CLAUSE_{NUM_GANGS,NUM_VECTORS,VECTOR_LENGTH,SEQ}. 2015-11-30 11:09:33 -08:00
routine-7.f90 tree-nested.c (convert_nonlocal_omp_clauses): Add support for OMP_CLAUSE_{NUM_GANGS,NUM_VECTORS,VECTOR_LENGTH,SEQ}. 2015-11-30 11:09:33 -08:00
routine-9.f90 tree-nested.c (convert_nonlocal_omp_clauses): Add support for OMP_CLAUSE_{NUM_GANGS,NUM_VECTORS,VECTOR_LENGTH,SEQ}. 2015-11-30 11:09:33 -08:00
subarrays-1.f90
subarrays-2.f90