Author: dgilmore Date: 2011-03-12 19:36:28 -0500 (Sat, 12 Mar 2011) New Revision: 3514
Modified: trunk/osprey/libopenmp/omp_runtime.c Log: Fixed bug 742 - OpenMP thread private initializations are not supported. CR: Jian-Xin Lai Modified: trunk/osprey/libopenmp/omp_runtime.c =================================================================== --- trunk/osprey/libopenmp/omp_runtime.c 2011-03-11 04:05:43 UTC (rev 3513) +++ trunk/osprey/libopenmp/omp_runtime.c 2011-03-13 00:36:28 UTC (rev 3514) @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 Advanced Micro Devices, Inc. All Rights Reserved. + * Copyright (C) 2009, 2011 Advanced Micro Devices, Inc. All Rights Reserved. */ /* @@ -1329,6 +1329,7 @@ else { p = aligned_malloc((int)size, CACHE_LINE_SIZE); Is_True (p !=NULL, "cannot allocate memory"); + memcpy(p, datap, size); } pp[global_tid] = p; } ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel