aboutsummaryrefslogtreecommitdiff
path: root/openmp/runtime/tools
AgeCommit message (Collapse)AuthorFilesLines
2016-12-08Support of mips & mips64 for openmprtlSylvestre Ledru2-2/+17
Summary: Implemented by Dejan Latinovic See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790735 for more more information Reviewers: AndreyChurbanov, jlpeyton Subscribers: openmp-commits, mgorny Differential Revision: https://reviews.llvm.org/D26576 llvm-svn: 289032
2016-07-08D22135: formatting changeAndrey Churbanov1-1/+1
llvm-svn: 274849
2016-05-17Remove trailing whitespace in files in tools/ directoryJonathan Peyton1-4/+4
llvm-svn: 269837
2016-02-09Have Mac builds use @rpath when supported in CMakeJonathan Peyton1-0/+2
The -install_name linker flag will use "@rpath/" when supported in CMake which is the recommended usage for dynamic libraries on Mac OSX. llvm-svn: 260300
2016-01-26Bypass Perl modules in build systemJonathan Peyton4-9/+16
This change fixes the bug: https://llvm.org/bugs/show_bug.cgi?id=25975 by bypassing the perl module files which try to deduce system information. These perl modules files don't offer useful information and are from the original build system. They can be removed after this change. llvm-svn: 258843
2015-09-21Teach the Perl modules about NetBSD.Joerg Sonnenberger2-1/+6
llvm-svn: 248203
2015-09-16Force the readelf call to be in EnglishSylvestre Ledru1-0/+5
Summary: For example, when readelf is called on a french localization, it will find "Librairie partagées" instead of "shared library" Reviewers: AndreyChurbanov, jcownie Differential Revision: http://reviews.llvm.org/D12902 llvm-svn: 247787
2015-09-14Removing the Makefile/Perl build system.Jonathan Peyton19-4774/+0
This change deletes the Makefile+Perl build system and all files used by it which aren't used by the CMake build system. This included many Perl files, *.mk files, iomp* files. This change also updates the README's and index.html to instruct the user to use the CMake build system. All mentioning of the Perl+Makefile based system are removed. Differential Revision: http://reviews.llvm.org/D12331 llvm-svn: 247583
2015-07-09Enable debugger supportJonathan Peyton1-0/+2
These changes enable external debuggers to conveniently interface with the LLVM OpenMP Library. Structures are added which describe the important internal structures of the OpenMP Library e.g., teams, threads, etc. This feature is turned on by default (CMake variable LIBOMP_USE_DEBUGGER) and can be turned off with -DLIBOMP_USE_DEBUGGER=off. Differential Revision: http://reviews.llvm.org/D10038 llvm-svn: 241832
2015-06-01Apply name change to tools/* files.Jonathan Peyton4-12/+12
These changes are all in comments. Change libiomp references to libomp. llvm-svn: 238713
2015-05-22Fix spelling errorsJonathan Peyton1-1/+1
These spelling errors are in comments and some debug messages. llvm-svn: 238060
2015-05-07D9306 omp 4.1 async offload support (partial): build changes for version 4.1Andrey Churbanov1-1/+1
llvm-svn: 236746
2015-04-29This patch contains the new files for OMPT and the needed changes to the ↵Andrey Churbanov1-1/+7
build infrastructure llvm-svn: 236117
2015-04-29UH OpenMP testsuite updateAndrey Churbanov2-0/+36
llvm-svn: 236105
2015-02-25Removed all header files for OpenMP 2.5Andrey Churbanov1-1/+1
llvm-svn: 230521
2015-02-25Set the Intel compiler as default when building for the MIC without CMakeAndrey Churbanov1-3/+3
llvm-svn: 230519
2015-02-20Misprint in comment fixedAndrey Churbanov1-1/+1
llvm-svn: 230034
2015-02-20Added some compiler flags for security on Linux and Mac link stages.Andrey Churbanov1-5/+30
llvm-svn: 230027
2015-01-29adding the jobs variable for parallel buildAndrey Churbanov2-0/+7
llvm-svn: 227447
2015-01-27Comments only: removing the Revision and Date svn variables from the top of ↵Andrey Churbanov1-2/+0
all the source files. llvm-svn: 227207
2015-01-19added support for PPC architectures (version 3): initial patch provided by ↵Andrey Churbanov3-4/+10
Carlo Bertolli, latest version from Johnny Peyton llvm-svn: 226479
2015-01-16cleanup changes of building for Intel(R) Many Integrated Core ArchitectureAndrey Churbanov13-106/+175
llvm-svn: 226271
2015-01-13fixed the missed bracket introduced by checkin rev 225792Andrey Churbanov1-1/+1
llvm-svn: 225796
2015-01-13aarch64 port sent by C. BergstromAndrey Churbanov3-3/+11
llvm-svn: 225792
2014-10-07I apologise in advance for the size of this check-in. At Intel we doJim Cownie7-8/+269
understand that this is not friendly, and are working to change our internal code-development to make it easier to make development features available more frequently and in finer (more functional) chunks. Unfortunately we haven't got that in place yet, and unpicking this into multiple separate check-ins would be non-trivial, so please bear with me on this one. We should be better in the future. Apologies over, what do we have here? GGC 4.9 compatibility -------------------- * We have implemented the new entrypoints used by code compiled by GCC 4.9 to implement the same functionality in gcc 4.8. Therefore code compiled with gcc 4.9 that used to work will continue to do so. However, there are some other new entrypoints (associated with task cancellation) which are not implemented. Therefore user code compiled by gcc 4.9 that uses these new features will not link against the LLVM runtime. (It remains unclear how to handle those entrypoints, since the GCC interface has potentially unpleasant performance implications for join barriers even when cancellation is not used) --- new parallel entry points --- new entry points that aren't OpenMP 4.0 related These are implemented fully :- GOMP_parallel_loop_dynamic() GOMP_parallel_loop_guided() GOMP_parallel_loop_runtime() GOMP_parallel_loop_static() GOMP_parallel_sections() GOMP_parallel() --- cancellation entry points --- Currently, these only give a runtime error if OMP_CANCELLATION is true because our plain barriers don't check for cancellation while waiting GOMP_barrier_cancel() GOMP_cancel() GOMP_cancellation_point() GOMP_loop_end_cancel() GOMP_sections_end_cancel() --- taskgroup entry points --- These are implemented fully. GOMP_taskgroup_start() GOMP_taskgroup_end() --- target entry points --- These are empty (as they are in libgomp) GOMP_target() GOMP_target_data() GOMP_target_end_data() GOMP_target_update() GOMP_teams() Improvements in Barriers and Fork/Join -------------------------------------- * Barrier and fork/join code is now in its own file (which makes it easier to understand and modify). * Wait/release code is now templated and in its own file; suspend/resume code is also templated * There's a new, hierarchical, barrier, which exploits the cache-hierarchy of the Intel(r) Xeon Phi(tm) coprocessor to improve fork/join and barrier performance. ***BEWARE*** the new source files have *not* been added to the legacy Cmake build system. If you want to use that fixes wil be required. Statistics Collection Code -------------------------- * New code has been added to collect application statistics (if this is enabled at library compile time; by default it is not). The statistics code itself is generally useful, the lightweight timing code uses the X86 rdtsc instruction, so will require changes for other architectures. The intent of this code is not for users to tune their codes but rather 1) For timing code-paths inside the runtime 2) For gathering general properties of OpenMP codes to focus attention on which OpenMP features are most used. Nested Hot Teams ---------------- * The runtime now maintains more state to reduce the overhead of creating and destroying inner parallel teams. This improves the performance of code that repeatedly uses nested parallelism with the same resource allocation. Set the new KMP_HOT_TEAMS_MAX_LEVEL envirable to a depth to enable this (and, of course, OMP_NESTED=true to enable nested parallelism at all). Improved Intel(r) VTune(Tm) Amplifier support --------------------------------------------- * The runtime provides additional information to Vtune via the itt_notify interface to allow it to display better OpenMP specific analyses of load-imbalance. Support for OpenMP Composite Statements --------------------------------------- * Implement new entrypoints required by some of the OpenMP 4.1 composite statements. Improved ifdefs --------------- * More separation of concepts ("Does this platform do X?") from platforms ("Are we compiling for platform Y?"), which should simplify future porting. ScaleMP* contribution --------------------- Stack padding to improve the performance in their environment where cross-node coherency is managed at the page level. Redesign of wait and release code --------------------------------- The code is simplified and performance improved. Bug Fixes --------- *Fixes for Windows multiple processor groups. *Fix Fortran module build on Linux: offload attribute added. *Fix entry names for distribute-parallel-loop construct to be consistent with the compiler codegen. *Fix an inconsistent error message for KMP_PLACE_THREADS environment variable. llvm-svn: 219214
2014-08-07Commit PowerPC64 support from Carlo Bertolli at IBM.Jim Cownie3-3/+9
llvm-svn: 215093
2014-02-28Add support for FreeBSDAlp Toker4-3/+24
Port the OpenMP runtime to FreeBSD along with associated build system changes. Also begin to generalize affinity capabilities so they aren't tied explicitly to Windows and Linux. The port builds with stock clang and gmake and has no additional runtime dependencies. All but a handful of the validation suite tests are now passing on FreeBSD 10 x86_64. llvm-svn: 202478
2014-02-24Fix clang compiler detection on OS XAlp Toker1-4/+3
check-tools.pl was hard-wired to expect the Apple compiler version string which doesn't make much sense, especially for a LLVM project. The correctness and value of these compiler version checks still isn't clear following this build fix but they are retained for now. llvm-svn: 202029
2014-02-24clang build fix: don't check for gnu tools by defaultAlp Toker1-4/+4
gcc/g++ don't exist on modern OS X development environments so the failed checks for gcc were causing the build to break even with 'make compiler=clang'. (The rationale for the check refers to a file 'touch-test.c' which no longer exists in the codebase.) llvm-svn: 202027
2014-02-24Fix typosAlp Toker6-16/+16
llvm-svn: 202018
2013-12-23For your Christmas hacking pleasure.Jim Cownie7-31/+136
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
2013-09-27First attempt to import OpenMP runtimeJim Cownie25-0/+9713
llvm-svn: 191506