Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

coleramos425
Copy link
Collaborator

Upon testing JSON output support in the MemoryAnalysis plugin I found empty output that would only occur while using the kernel filtering option in omniprobe (i.e. -k/--kernels). The bug occurred because when kernel filtering is used, Omniprobe could process multiple dispatches at a time, which I'm guessing caused a race condition between multiple handler instances. The easiest solution is to skip the metadata output in this case, which solved the issue for me.

This PR also patches an issue in ROCm install in Docker container build where ROCM_VERSION build arg needed to be declared after FROM statement in the Dockerfile for correct scoping. This fixed the issue.

…'s data to output rather than relying on dispatch info which may not always be reliable

Signed-off-by: coleramos425 <[email protected]>
…cessed sequentially, causing multiple calls to hipGetDeviceProperties(). To avoid this race condition, skip this call when kernel filtering is being done

Signed-off-by: coleramos425 <[email protected]>
@coleramos425 coleramos425 merged commit 4eb1b3d into main Jul 29, 2025
4 of 16 checks passed
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.

1 participant