Andrey Churbanov
|
aa1f2b6306
|
The generation of the hierarchy used by hierarchical barrier improved in how the generation reacts to affinity set to none, or disabled, or no affinity available, or oversubscription. Some cleanup actions based on review comments to follow: need to use meaningful names instead of digital constants, e.g. use enumerators.
llvm-svn: 234775
|
2015-04-13 18:51:59 +00:00 |
Andrey Churbanov
|
74bf17b8ff
|
Replace some unsafe API calls with safe alternatives on Windows, prepare code for similar actions on other platforms - wrap unsafe API calls into macros.
llvm-svn: 233915
|
2015-04-02 13:27:08 +00:00 |
Andrey Churbanov
|
1362ae750f
|
Eliminated the write to depth field of the machine_hierarchy data structure in __kmp_get_hierarchy(), thus fixing race condition. Now local variable used by each thread.
llvm-svn: 233914
|
2015-04-02 13:18:50 +00:00 |
Andrey Churbanov
|
d39f11c026
|
fix for broken commit 231774
llvm-svn: 231781
|
2015-03-10 10:14:57 +00:00 |
Andrey Churbanov
|
16a1432176
|
issuing of incorrect warning fixed
llvm-svn: 231779
|
2015-03-10 09:34:38 +00:00 |
Andrey Churbanov
|
2b8ecbeeb6
|
cleanup: removed unused function __kmp_change_thread_affinity_mask
llvm-svn: 231778
|
2015-03-10 09:31:21 +00:00 |
Andrey Churbanov
|
94e569e0e6
|
proc_bind_disabled enum value removed, its usage replased with proc_bind_false
llvm-svn: 231776
|
2015-03-10 09:19:47 +00:00 |
Andrey Churbanov
|
1f037e495a
|
cleanup: usages of mask size wrapped into macros
llvm-svn: 231775
|
2015-03-10 09:15:26 +00:00 |
Andrey Churbanov
|
7b2ab719fe
|
Adding some 8-bit atomic operations for future use
llvm-svn: 231774
|
2015-03-10 09:03:42 +00:00 |
Andrey Churbanov
|
128755741f
|
changed unsigned types to signed - caused by comments of Hal Finkel on one of earlier patches
llvm-svn: 231773
|
2015-03-10 09:00:36 +00:00 |
Andrey Churbanov
|
1b625ddc0d
|
moved Windows-specific flags under the WINDOWS guard in CMake
llvm-svn: 231384
|
2015-03-05 17:50:48 +00:00 |
Andrey Churbanov
|
1035f5721a
|
added KMP_NESTED_HOT_TEAMS macro definition
llvm-svn: 231383
|
2015-03-05 17:48:53 +00:00 |
Andrey Churbanov
|
e4b9213f80
|
minor change: comment improved
llvm-svn: 231381
|
2015-03-05 17:46:50 +00:00 |
Andrey Churbanov
|
bebb54050b
|
Cleanup provided by Carlo Bertolli
llvm-svn: 231078
|
2015-03-03 16:19:57 +00:00 |
Andrey Churbanov
|
f42e83cf72
|
Removed all header files for OpenMP 2.5
llvm-svn: 230521
|
2015-02-25 18:38:08 +00:00 |
Andrey Churbanov
|
2638298646
|
Export the common header files to exports/ with CMake
llvm-svn: 230520
|
2015-02-25 18:32:30 +00:00 |
Andrey Churbanov
|
6d313413a8
|
Set the Intel compiler as default when building for the MIC without CMake
llvm-svn: 230519
|
2015-02-25 18:30:50 +00:00 |
Andrey Churbanov
|
e8595de647
|
Two warning messages fixed.
llvm-svn: 230035
|
2015-02-20 18:19:41 +00:00 |
Andrey Churbanov
|
fda00d095f
|
Misprint in comment fixed
llvm-svn: 230034
|
2015-02-20 18:17:03 +00:00 |
Andrey Churbanov
|
613edeb89b
|
Detect Intel MIC architecture and set some defaults at run time instead of build time.
llvm-svn: 230033
|
2015-02-20 18:14:43 +00:00 |
Andrey Churbanov
|
723a6b64bb
|
Removed unused varargs from __kmpc_flush function.
llvm-svn: 230032
|
2015-02-20 18:09:27 +00:00 |
Andrey Churbanov
|
5c56fb55b0
|
Added new user-guided lock api, currently disabled. Use KMP_USE_DYNAMIC_LOCK=1 to enable it.
llvm-svn: 230030
|
2015-02-20 18:05:17 +00:00 |
Andrey Churbanov
|
a5547bce79
|
Changed default stack offset for threads on non-Mac architectures to a CACHE_LINE.
llvm-svn: 230029
|
2015-02-20 17:57:58 +00:00 |
Andrey Churbanov
|
f790286c33
|
Added some compiler flags for security on Linux and Mac link stages.
llvm-svn: 230027
|
2015-02-20 17:55:48 +00:00 |
Andrey Churbanov
|
b41e62b713
|
Fixed memory corruption problem.
llvm-svn: 228736
|
2015-02-10 20:10:21 +00:00 |
Andrey Churbanov
|
440af7eccc
|
Updated the kmp_omp_struct_info_t structure used by debuggers.
llvm-svn: 228734
|
2015-02-10 19:53:13 +00:00 |
Andrey Churbanov
|
851563f9c3
|
OpenMP 4.0 standard function omp_is_initial_device() implemented.
llvm-svn: 228730
|
2015-02-10 19:47:09 +00:00 |
Andrey Churbanov
|
c5bccf94eb
|
Added comment on format of local labels in asm code
llvm-svn: 228727
|
2015-02-10 19:31:17 +00:00 |
Andrey Churbanov
|
054c50bf4f
|
Added CFI directives to asm code in order to have correct backtraces in gdb.
llvm-svn: 228721
|
2015-02-10 18:51:52 +00:00 |
Andrey Churbanov
|
6d224dbda7
|
The usage of tt_state flag is replaced by an array of two task_team pointers.
llvm-svn: 228718
|
2015-02-10 18:37:43 +00:00 |
Andrey Churbanov
|
9bf5328f97
|
Pin the libiomp5.dll for the lifetime of application, Windows-specific
llvm-svn: 227469
|
2015-01-29 17:18:20 +00:00 |
Andrey Churbanov
|
5cd50e3c0a
|
enable environment variable KMP_PLACE_THREADS also for non-MIC architectures
llvm-svn: 227467
|
2015-01-29 17:14:58 +00:00 |
Andrey Churbanov
|
78bfb7c3a7
|
fix that sets proc-bind-var to proc_bind_false if affinity is not supported
llvm-svn: 227454
|
2015-01-29 15:52:20 +00:00 |
Andrey Churbanov
|
4b2f17a1d3
|
fixing typo in error message
llvm-svn: 227451
|
2015-01-29 15:49:22 +00:00 |
Andrey Churbanov
|
9ffc098fb5
|
fixing mistake in kmp_get_affinity_max_proc() api function
llvm-svn: 227450
|
2015-01-29 15:48:21 +00:00 |
Andrey Churbanov
|
571fd8acca
|
fixing the Fortran modules dependencies
llvm-svn: 227449
|
2015-01-29 15:43:48 +00:00 |
Andrey Churbanov
|
898a56eb27
|
adding the jobs variable for parallel build
llvm-svn: 227447
|
2015-01-29 15:37:15 +00:00 |
Andrey Churbanov
|
d9e775edfc
|
Comments only: removing the Revision and Date svn variables from the top of all the source files.
llvm-svn: 227207
|
2015-01-27 17:13:53 +00:00 |
Andrey Churbanov
|
7a3467ab9d
|
minor formatting change
llvm-svn: 227205
|
2015-01-27 17:06:18 +00:00 |
Andrey Churbanov
|
1c33129956
|
Enables a cpuid leaf 4 check for non-MIC x86 architectures.
llvm-svn: 227204
|
2015-01-27 17:03:42 +00:00 |
Andrey Churbanov
|
df6555b6ef
|
Adds some new Windows processor groups trace messages
llvm-svn: 227203
|
2015-01-27 17:00:03 +00:00 |
Andrey Churbanov
|
a36de4339b
|
Fixes error where proc-bind-var is not set when there is a parsing error of GOMP_AFFINITY environment variable.
llvm-svn: 227202
|
2015-01-27 16:58:08 +00:00 |
Andrey Churbanov
|
f696c820cd
|
Removes some unused variables (__kmp_ht_*) and changes__kmp_ncores and __kmp_nThreadsPerCore to static globals within kmp_affinity.cpp.
llvm-svn: 227201
|
2015-01-27 16:55:43 +00:00 |
Andrey Churbanov
|
7daf9803f5
|
Replaces KMP_OS_WINDOWS && KMP_ARCH_X86_64 or any combination of those two options with the feature macro KMP_GROUP_AFFINITY.
llvm-svn: 227199
|
2015-01-27 16:52:57 +00:00 |
Andrey Churbanov
|
42a79217a8
|
Fixed implementation of the teams construct in case it contains parallel regions with different number of threads.
llvm-svn: 227198
|
2015-01-27 16:50:31 +00:00 |
Andrey Churbanov
|
d1c5504097
|
added support for PPC architectures (version 3): initial patch provided by Carlo Bertolli, latest version from Johnny Peyton
llvm-svn: 226479
|
2015-01-19 18:29:35 +00:00 |
Andrey Churbanov
|
b8039074d0
|
Two fixes sent by C.Bergstrom: MB() does real synch for ARM; _Quad is not used when not available.
llvm-svn: 226464
|
2015-01-19 14:00:00 +00:00 |
Andrey Churbanov
|
f6451d90d6
|
few fixes for ittnotify iterface (used by Intel(R) VTune Amplifier)
llvm-svn: 226283
|
2015-01-16 15:58:03 +00:00 |
Andrey Churbanov
|
19be978ecf
|
cleanup changes of cmake-building for Intel(R) Many Integrated Core Architecture
llvm-svn: 226272
|
2015-01-16 13:05:23 +00:00 |
Andrey Churbanov
|
d315ceac18
|
cleanup changes of building for Intel(R) Many Integrated Core Architecture
llvm-svn: 226271
|
2015-01-16 12:54:51 +00:00 |