diff options
| author | Jim Cownie <james.h.cownie@intel.com> | 2013-12-23 17:28:57 +0000 |
|---|---|---|
| committer | Jim Cownie <james.h.cownie@intel.com> | 2013-12-23 17:28:57 +0000 |
| commit | 181b4bb3bb21a576458686d8e40234f658a3d35e (patch) | |
| tree | a7acb48bf7338894f3c0f2c81e97564a98ccce3c /openmp/runtime/src/kmp_i18n.c | |
| parent | 701875542d670e40e61390ccac08a6ed1de4d91f (diff) | |
| download | bcm5719-llvm-181b4bb3bb21a576458686d8e40234f658a3d35e.tar.gz bcm5719-llvm-181b4bb3bb21a576458686d8e40234f658a3d35e.zip | |
For your Christmas hacking pleasure.
This release use aligns with Intel(r) Composer XE 2013 SP1 Product Update 2
New features
* The library can now be built with clang (though wiht some
limitations since clang does not support 128 bit floats)
* Support for Vtune analysis of load imbalance
* Code contribution from Steven Noonan to build the runtime for ARM*
architecture processors
* First implementation of runtime API for OpenMP cancellation
Bug Fixes
* Fixed hang on Windows (only) when using KMP_BLOCKTIME=0
llvm-svn: 197914
Diffstat (limited to 'openmp/runtime/src/kmp_i18n.c')
| -rw-r--r-- | openmp/runtime/src/kmp_i18n.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/openmp/runtime/src/kmp_i18n.c b/openmp/runtime/src/kmp_i18n.c index e23e9f1af5d..5cca6e816d3 100644 --- a/openmp/runtime/src/kmp_i18n.c +++ b/openmp/runtime/src/kmp_i18n.c @@ -1,7 +1,7 @@ /* * kmp_i18n.c - * $Revision: 42181 $ - * $Date: 2013-03-26 15:04:45 -0500 (Tue, 26 Mar 2013) $ + * $Revision: 42810 $ + * $Date: 2013-11-07 12:06:33 -0600 (Thu, 07 Nov 2013) $ */ @@ -668,7 +668,7 @@ __kmp_i18n_catgets( void __kmp_i18n_dump_catalog( - kmp_str_buf_t & buffer + kmp_str_buf_t * buffer ) { struct kmp_i18n_id_range_t { @@ -676,7 +676,7 @@ __kmp_i18n_dump_catalog( kmp_i18n_id_t last; }; // struct kmp_i18n_id_range_t - static kmp_i18n_id_range_t ranges[] = { + static struct kmp_i18n_id_range_t ranges[] = { { kmp_i18n_prp_first, kmp_i18n_prp_last }, { kmp_i18n_str_first, kmp_i18n_str_last }, { kmp_i18n_fmt_first, kmp_i18n_fmt_last }, @@ -684,18 +684,20 @@ __kmp_i18n_dump_catalog( { kmp_i18n_hnt_first, kmp_i18n_hnt_last } }; // ranges - int num_of_ranges = sizeof( ranges ) / sizeof( kmp_i18n_id_range_t ); + int num_of_ranges = sizeof( ranges ) / sizeof( struct kmp_i18n_id_range_t ); int range; kmp_i18n_id_t id; for ( range = 0; range < num_of_ranges; ++ range ) { - __kmp_str_buf_print( & buffer, "*** Set #%d ***\n", range + 1 ); - for ( id = kmp_i18n_id_t( ranges[ range ].first + 1 ); id < ranges[ range ].last; id = kmp_i18n_id_t( id + 1 ) ) { - __kmp_str_buf_print( & buffer, "%d: <<%s>>\n", id, __kmp_i18n_catgets( id ) ); + __kmp_str_buf_print( buffer, "*** Set #%d ***\n", range + 1 ); + for ( id = (kmp_i18n_id_t)( ranges[ range ].first + 1 ); + id < ranges[ range ].last; + id = (kmp_i18n_id_t)( id + 1 ) ) { + __kmp_str_buf_print( buffer, "%d: <<%s>>\n", id, __kmp_i18n_catgets( id ) ); }; // for id }; // for range - __kmp_printf( "%s", buffer.str ); + __kmp_printf( "%s", buffer->str ); } // __kmp_i18n_dump_catalog |

