This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r226678 - in /branches/hsa/libgomp: ChangeLog.h...
- From: marxin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 06 Aug 2015 15:13:32 -0000
- Subject: r226678 - in /branches/hsa/libgomp: ChangeLog.h...
Author: marxin
Date: Thu Aug 6 15:13:32 2015
New Revision: 226678
URL: https://gcc.gnu.org/viewcvs?rev=226678&root=gcc&view=rev
Log:
Fix OMP data allocation.
* plugin/plugin-hsa.c (struct kernel_info): Add new struct field.
(init_kernel): Precompute size of OMP data that is necessary
(GOMP_OFFLOAD_run): Use the procomputed value.
Modified:
branches/hsa/libgomp/ChangeLog.hsa
branches/hsa/libgomp/plugin/plugin-hsa.c