Skip to content

Ompd #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 62 commits into
base: master
Choose a base branch
from
Open

Ompd #45

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
ea9e2d9
Init ompd, store offset and size information for ompd, implemented OM…
jprotze May 22, 2015
6fad833
Add ompd to cmake build
jprotze Jun 1, 2015
0cd2b52
fix cmake build for ompd-support
jprotze Jun 29, 2015
b1d7851
Remove use of assignment to multiple struct fields using .fieldname
Jun 29, 2015
e84ef6b
add ompd_dll_location array and function.
jprotze Jul 1, 2015
61ae656
Merge branch 'ompd' of https://lc.llnl.gov/stash/scm/ompd/openmp-rt-o…
jprotze Jul 1, 2015
963af70
Add additional type information needed for the new API functions
jprotze Jul 14, 2015
106290b
add ompd_breakpoints
jprotze Aug 5, 2015
e8e9361
Merge branch 'ompd' of https://lc.llnl.gov/stash/scm/ompd/openmp-rt-o…
jprotze Aug 5, 2015
b89b9e0
calculate offset and size information at compile time
jprotze Aug 5, 2015
0877596
get size of target thread identifier
jprotze Aug 8, 2015
9ea80d8
Revert "calculate offset and size information at compile time"
jprotze Aug 9, 2015
ff81f9c
add more size information for typedefed basic types and some variables
jprotze Aug 31, 2015
9f038f4
Merge branch 'ompd' of ssh://cz-stash.llnl.gov:7999/ompd/openmp-rt-om…
jprotze Aug 31, 2015
f14b3fe
add additional struct offset information
jprotze Sep 21, 2015
837e155
Merge branch 'ompd' of ssh://cz-stash.llnl.gov:7999/ompd/openmp-rt-om…
jprotze Sep 21, 2015
d259fdb
Merge branch 'master' into ompd
jprotze Oct 8, 2015
5b65766
* resolve last merging conflict
jprotze Oct 8, 2015
530b346
Repair ompd runtime stuff after merge from master
jprotze Oct 22, 2015
1b116e3
Merge branch 'ompd' of ssh://cz-stash.llnl.gov:7999/ompd/openmp-rt-om…
jprotze Oct 22, 2015
4884d03
add offset information for omp_get_thread_num value
jprotze Oct 22, 2015
1da0107
Fix size of ompd_state
jprotze Dec 16, 2015
fae6480
Merge branch 'ompd' of https://lc.llnl.gov/stash/scm/ompd/openmp-rt-o…
jprotze Dec 16, 2015
3de34d3
Add parallel outline function call as implicit task function
jprotze Jan 19, 2016
da80ec7
local merge with master
jprotze Feb 11, 2016
78504c8
fix missing OMPT reenter_address for openmp taskwait
jprotze Feb 11, 2016
bef673e
adding size information for struct members
jprotze May 14, 2016
e663a3f
Merge branch 'master' into ompd
jprotze Jul 1, 2016
432e053
Fix the frame level pointed to by exit_runtime_frame
jprotze Jul 27, 2016
83b6181
Fix the frame level pointed to by reenter_runtime_frame
jprotze Jul 27, 2016
a677fc5
add scheduling parent
jprotze Aug 5, 2016
d9b1d61
Fix some task frame information:
jprotze Aug 5, 2016
f7789ec
Fix team unrolling for presence of lwt
jprotze Aug 7, 2016
e529152
Add OMPD offset information necessary for lwt handling
jprotze Aug 7, 2016
f20f03a
Merge branch 'scheduling_parent' into ompd
jprotze Aug 7, 2016
5f69583
Merge branch 'master' into ompd
jprotze Nov 4, 2016
0091c9e
fix regression introduced while merging
jprotze Nov 8, 2016
99c5089
Small changes to allow the names of the variables needed by OMPD to b…
ariel-rw Jan 20, 2017
29583da
Adding OMPD support
ilagunap Feb 2, 2018
35bc351
Cleanup OMPT after merge
jprotze Feb 2, 2018
2678326
Let the code compile with OMPD_SUPPORT
jprotze Feb 2, 2018
30445f1
Adding OMPD library directory, but it has problems with sed command t…
ilagunap Feb 3, 2018
8299cc2
Update ompd library to the symbol names in libomp
jprotze Feb 3, 2018
918c989
Update most of the interface to current spec
jprotze Feb 3, 2018
88108b2
Stop generating ompd.h, only build libompd if active in cmake
jprotze Feb 3, 2018
51fa12c
Initial pass with clang-format
jprotze Feb 12, 2018
5307609
Use class overload of new operator to not overload the new operator o…
jprotze Feb 11, 2018
cc25dce
Add missing ompd.h file, add runtime version function
jprotze Feb 12, 2018
e438314
Adding sourc code of GDB wrapper in libompd directory
Feb 13, 2018
3cf085d
Merge branch 'master' into ompd
jprotze May 14, 2018
a278045
Allow the use of omp.h from the build directory.
jprotze May 15, 2018
7288d8d
Initialize LIBOMP_INCLUDE_DIR to be used in higher scopes
jprotze May 15, 2018
ae6b051
making ompd dependent upon omp being built first
mcfadden8 May 15, 2018
d8edcc7
Merge branch 'master' into ompd
Jun 21, 2018
5e504d9
Fix location as it was changed in cmake file
Jun 27, 2018
fe32571
Access the task routine to provide a task function for OMPD
jprotze Jul 18, 2018
b34cb8c
Various fixes for the OMPD library
Aug 3, 2018
b2b4f84
Change the storage of ompd_dll_locations to also work with optimized …
jprotze Jul 31, 2018
6b435dc
Work-around for release-build
Aug 13, 2018
c5306cf
Add new ompd_bp_thread_begin function to be called after OpenMP threa…
jprotze Aug 14, 2018
9f24160
Merge remote-tracking branch 'origin/master' into ompd
jprotze Aug 14, 2018
24b5dad
Merge commit 'd8edcc7' into ompd
jprotze Aug 14, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
local merge with master
  • Loading branch information
jprotze committed Feb 11, 2016
commit da80ec735d6874d34fdf99e16f166a663aebcc29
5 changes: 5 additions & 0 deletions runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,11 @@ endif()
set(LIBOMP_OMPD_SUPPORT FALSE CACHE BOOL
"OMPD-support?")

# Error check hwloc support after config-ix has run
if(LIBOMP_USE_HWLOC AND (NOT LIBOMP_HAVE_HWLOC))
libomp_error_say("Hwloc requested but not available")
endif()

# Setting final library name
set(LIBOMP_DEFAULT_LIB_NAME libomp)
if(${PROFILE_LIBRARY})
Expand Down
13 changes: 13 additions & 0 deletions runtime/src/kmp_tasking.c
Original file line number Diff line number Diff line change
Expand Up @@ -1166,10 +1166,23 @@ __kmp_invoke_task( kmp_int32 gtid, kmp_task_t *task, kmp_taskdata_t * current_ta
KMP_COUNT_BLOCK(TASK_executed);
KMP_TIME_BLOCK (TASK_execution);
#endif // OMP_40_ENABLED

#if OMPD_SUPPORT
if ( ompd_state & OMPD_ENABLE_BP )
ompd_bp_task_begin ();
#endif

#if OMPT_SUPPORT && OMPT_TRACE
/* let OMPT know that we're about to run this task */
if (ompt_enabled &&
ompt_callbacks.ompt_callback(ompt_event_task_switch))
{
ompt_callbacks.ompt_callback(ompt_event_task_switch)(
current_task->ompt_task_info.task_id,
taskdata->ompt_task_info.task_id);
}
#endif

#ifdef KMP_GOMP_COMPAT
if (taskdata->td_flags.native) {
((void (*)(void *))(*(task->routine)))(task->shareds);
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/kmp_wait_release.h
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ class kmp_flag_oncore : public kmp_flag<kmp_uint64> {
return ret;
#else
return __kmp_execute_tasks_oncore(this_thr, gtid, this, final_spin, thread_finished
USE_ITT_BUILD_ARG(itt_sync_obj), is_constrained);
USE_ITT_BUILD_ARG(itt_sync_obj), is_constrained);
#endif
}
kmp_uint8 *get_stolen() { return NULL; }
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.