Commit Graph
23 Commits
Author SHA1 Message Date
Jonathan Peyton 705074b169 Apply name change to tools/* files.
These changes are all in comments.  Change libiomp references to
libomp.


git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@238713 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-01 02:41:44 +00:00
Jonathan Peyton 6590b366d3 Fix spelling errors
These spelling errors are in comments and some debug messages.


git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@238060 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-22 22:35:51 +00:00
Andrey Churbanov 941ff3cfec D9306 omp 4.1 async offload support (partial): build changes for version 4.1
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@236746 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-07 17:07:06 +00:00
Andrey Churbanov 7866075b26 This patch contains the new files for OMPT and the needed changes to the build infrastructure
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@236117 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-29 16:22:07 +00:00
Andrey Churbanov 1d0ad7f8a7 UH OpenMP testsuite update
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@236105 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-29 14:36:38 +00:00
Andrey Churbanov f22e087f7c Removed all header files for OpenMP 2.5
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230521 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-25 18:38:08 +00:00
Andrey Churbanov 45ed5c3e63 Set the Intel compiler as default when building for the MIC without CMake
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230519 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-25 18:30:50 +00:00
Andrey Churbanov b4d5def747 Misprint in comment fixed
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230034 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-20 18:17:03 +00:00
Andrey Churbanov 19b619330a Added some compiler flags for security on Linux and Mac link stages.
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230027 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-20 17:55:48 +00:00
Andrey Churbanov 94f826e819 adding the jobs variable for parallel build
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@227447 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-29 15:37:15 +00:00
Andrey Churbanov 9236d9713a Comments only: removing the Revision and Date svn variables from the top of all the source files.
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@227207 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-27 17:13:53 +00:00
Andrey Churbanov b8903bff6a added support for PPC architectures (version 3): initial patch provided by Carlo Bertolli, latest version from Johnny Peyton
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@226479 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-19 18:29:35 +00:00
Andrey Churbanov 50c666a9bd cleanup changes of building for Intel(R) Many Integrated Core Architecture
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@226271 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-16 12:54:51 +00:00
Andrey Churbanov 7680d2964f fixed the missed bracket introduced by checkin rev 225792
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@225796 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-13 15:16:49 +00:00
Andrey Churbanov 889547d589 aarch64 port sent by C. Bergstrom
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@225792 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-13 14:43:35 +00:00
Jim Cownie f12a6547f0 I apologise in advance for the size of this check-in. At Intel we do
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.



git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@219214 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-07 16:25:50 +00:00
Jim Cownie eb0d2c2faa Commit PowerPC64 support from Carlo Bertolli at IBM.
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@215093 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-07 10:12:54 +00:00
Alp Toker 97a872b516 Add support for FreeBSD
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.

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@202478 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-28 09:42:41 +00:00
Alp Toker 724ef6a592 Fix clang compiler detection on OS X
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.

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@202029 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-24 12:29:09 +00:00
Alp Toker c3b8311f91 clang build fix: don't check for gnu tools by default
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.)

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@202027 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-24 11:47:00 +00:00
Alp Toker 4bf04f627e Fix typos
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@202018 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-24 10:40:15 +00:00
Jim Cownie 024c10806d 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



git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@197914 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-23 17:28:57 +00:00
Jim Cownie b608d46807 First attempt to import OpenMP runtime
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@191506 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-27 10:38:44 +00:00