This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r228612 - in /branches/hsa/gcc: ChangeLog.hsa h...
- From: marxin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 08 Oct 2015 16:44:01 -0000
- Subject: r228612 - in /branches/hsa/gcc: ChangeLog.hsa h...
Author: marxin
Date: Thu Oct 8 16:44:01 2015
New Revision: 228612
URL: https://gcc.gnu.org/viewcvs?rev=228612&root=gcc&view=rev
Log:
HSA: preserve HSA function names and visibility
* hsa-brig.c (hsa_output_kernel_mapping): Change type of kernel
dependencies container.
* hsa-gen.c (has_host_function_p): New function.
(hsa_generate_function_declaration): Emit host implementation of
a function declaration.
(generate_hsa): Likewise.
(hsa_get_gpu_function): Remove unused function.
* hsa.c (hsa_add_kernel_dependency): Change type of a function
argument.
* hsa.h: Likewise.
* ipa-hsa.c (process_hsa_functions): Copy visibility from
a cloned function.
Modified:
branches/hsa/gcc/ChangeLog.hsa
branches/hsa/gcc/hsa-brig.c
branches/hsa/gcc/hsa-gen.c
branches/hsa/gcc/hsa.c
branches/hsa/gcc/hsa.h
branches/hsa/gcc/ipa-hsa.c