draft: remove failing assertions#6
Conversation
remove comment containing 'johnmc'
remove comment containing 'johnmc'
jrmadsen
left a comment
There was a problem hiding this comment.
Hi @jmellorcrummey, I think these should just move down below the tracing::populate_external_correlation_ids(…) function call that is a little further down in the code.
|
Actually, I was mistaken. It appears this condition can arise if you are using both callback and buffer tracing of an API in the same context: which ends up with one external correlation id map entry, one callback entry, and one buffer entry. Are you intentionally doing this? |
|
We are intentionally doing this at present. It should be allowed. That's why I think the assertion should be deleted. For the future, we aim to switch to the external correlation id support rather than using the callback. |
aovid the need to patch AMD's amdgpu driver for AFAR V
|
This pull request has merge conflicts that need to be resolved. It cannot be imported to the ROCm/rocm-systems repo automatically. |
we compiled the 'develop' versions of clr and hip as Ben recommended. the HIP and HSA assertions
ROCP_FATAL_IF(external_corr_ids.size() < (callback_contexts.size() + buffered_contexts.size()))
that I commented out out trip with each of external_corr_ids.size(), (callback_contexts.size(), and buffered_contexts.size() == 1. omitting them, our incomplete draft of rocprofiler-sdk support in hpctoolkit is being exercised as expected.