r230747 - in /branches/hsa: gcc/ChangeLog.hsa g...
jamborm@gcc.gnu.org
jamborm@gcc.gnu.org
Mon Nov 23 10:22:00 GMT 2015
Author: jamborm
Date: Mon Nov 23 10:22:53 2015
New Revision: 230747
URL: https://gcc.gnu.org/viewcvs?rev=230747&root=gcc&view=rev
Log:
[hsa] Use new format of device-specific target arguments
2015-11-20 Martin Jambor <mjambor@suse.cz>
gcc/
* omp-low.c (get_target_argument_identifier_1): New function.
(get_target_argument_identifier): Likewise.
(get_target_argument_value): Likewise.
(get_target_arguments): Use them.
include/
* gomp-constants.h (GOMP_TARGET_ARG_FIRST_DEVICE_SPECIFIC): Removed.
(GOMP_TARGET_ARG_DEVICE_MASK): New.
(GOMP_TARGET_ARG_DEVICE_ALL): Likewise.
(GOMP_TARGET_ARG_SUBSEQUENT_PARAM): Likewise.
(GOMP_TARGET_ARG_ID_MASK): Likewise.
(GOMP_TARGET_ARG_VALUE_SHIFT): Likewise.
(GOMP_TARGET_ARG_NUM_TEAMS): Skifted by 8.
(GOMP_TARGET_ARG_THREAD_LIMIT): Likewise.
(GOMP_TARGET_ARG_HSA_KERNEL_ATTRIBUTES): Likewise.
libgomp/
* plugin/plugin-hsa.c (parse_launch_attributes): Renamed to
parse_target_attributes. Process the new format of arguments.
Modified:
branches/hsa/gcc/ChangeLog.hsa
branches/hsa/gcc/omp-low.c
branches/hsa/include/ChangeLog.hsa
branches/hsa/include/gomp-constants.h
branches/hsa/libgomp/ChangeLog.hsa
branches/hsa/libgomp/plugin/plugin-hsa.c
More information about the Gcc-cvs
mailing list