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

merge release code into development #6

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

merge release code into development #6

wants to merge 4 commits into from

Conversation

rocm-ci
Copy link

@rocm-ci rocm-ci commented May 1, 2023

merge release code into development

raramakr and others added 4 commits March 4, 2022 11:20
Header file path updated to amd-dbgapi/amd-dbgapi.h  based on dbgapi changes

Depends-On: I74367e6961b8658511bd1225e1725182308f0a01
Depends-On: I446c3edd0a20eafc47aaac084e6ff9216870400c
Change-Id: I472b5194127cacd9e31f2d9ca4f8ca066d7153d3
When printing all wavefronts is requested, the debug agent must stop
running waves before inspecting their state.  The stop_all_wavefronts
function iterates all wavefronts, and stops the wavefronts that are
still running.

stop_all_wavefronts was failing to detect already stopped wavefronts.
Added a check before sending the stop request as it is illegal to
send a stop request to an already stopped wavefront.

Also noticed that the stopped events were not reported as processed,
and resuming wavefronts with stop events was returning an error.  A
wave is only trully stopped when the stop event is processed.  Added
amd_dbgapi_event_processed to both event loops.

Change-Id: I0eb09d61253e1682488eb6b3c389854f195fdab1
GNUInstallDirs sets CMAKE_INSTALL_DOCDIR using the project name
(DATAROOTDIR/doc/PROJECT_NAME).  Since we want to use rocm-debug-agent
for directory names, change the project name to rocm-debug-agent.

Change-Id: I78427fc299b81baadc92ad1a5e77ab9c7052562b
Use GNUInstallDirs variables to determine the location of BINDIR,
LIBDIR, INCLUDEDIR, DOCDIR, LIBEXECDIR and DATADIR.

Change-Id: I5e9a78d094a15d5c96465df48e8fc12237991aaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants