Skip to content
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

Ompd #45

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 all commits
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
loeseke 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
loeseke 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
loeseke 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
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ set(OPENMP_TEST_OPENMP_FLAGS ${OPENMP_TEST_COMPILER_OPENMP_FLAGS} CACHE STRING
add_subdirectory(runtime)


# Build OMPD
add_subdirectory(libompd)

set(ENABLE_LIBOMPTARGET ON)
# Currently libomptarget cannot be compiled on Windows or MacOS X.
# Since the device plugins are only supported on Linux anyway,
Expand Down
3 changes: 3 additions & 0 deletions libompd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if(LIBOMP_OMPD_SUPPORT)
add_subdirectory(src)
endif()
60 changes: 60 additions & 0 deletions libompd/gdb-wrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
project (odb)

set (cppfiles
InputOutputManager.cpp
ChildProcess.cpp
# ProcessSpawn.cpp
StringParser.cpp
CudaGdb.cpp
Debug.cpp
GdbProcess.cpp
Callbacks.cpp
OMPDCommand.cpp
OMPDContext.cpp
OutputString.cpp)

# Let's find GDB first.
find_package(GDB REQUIRED)
if (GDB_FOUND)
MESSAGE( STATUS "GDB_PATH: " ${GDB_COMMAND} )
add_definitions (-DGDB_PATH="${GDB_COMMAND}")
endif (GDB_FOUND)

find_package(CudaGDB QUIET)
if (CUDA_GDB_FOUND)
MESSAGE( STATUS "CUDA_GDB_PATH: " ${CUDA_GDB_COMMAND} )
add_definitions (-DCUDA_GDB_PATH="${CUDA_GDB_COMMAND}")
endif (CUDA_GDB_FOUND)

add_executable (odb-bin ${cppfiles} odb.cpp)
set_target_properties (odb-bin PROPERTIES OUTPUT_NAME odb)
add_library (odb ${cppfiles})

if (ODB_LINUX)
target_link_libraries (odb-bin dl)
target_link_libraries (odb dl)
endif (ODB_LINUX)

include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
# ${CMAKE_CURRENT_SOURCE_DIR}/../src/
${CMAKE_BINARY_DIR}/include
)

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

if (CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions (-DDEBUG)
endif (CMAKE_BUILD_TYPE STREQUAL "Debug")

# Find readline library
find_package(Readline REQUIRED)
include_directories(${Readline_INCLUDE_DIRS})
set(LIBS ${LIBS} ${Readline_LIBRARY})

target_link_libraries(odb-bin ${LIBS})

install(TARGETS odb odb-bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/static
RUNTIME DESTINATION bin )
Loading