Skip to content

Timestamp option for logging#2384

Merged
JonathanLichtnerAMD merged 9 commits into
developfrom
users/cderb/log_timestamp
Nov 4, 2025
Merged

Timestamp option for logging#2384
JonathanLichtnerAMD merged 9 commits into
developfrom
users/cderb/log_timestamp

Conversation

@cderb
Copy link
Copy Markdown
Contributor

@cderb cderb commented Oct 30, 2025

Motivation

Timestamp for log messages can help identify delays during execution.

Technical Details

Add method for fetching date time in milliseconds.
Environment switch to activate in logging.

Copy link
Copy Markdown
Contributor

@randyspauldingamd randyspauldingamd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, this is something I've wanted to do myself for a very long time. I think the switch to ISO 8601 is pretty important; the others not as much.

Comment thread projects/miopen/src/logger.cpp Outdated
Comment thread projects/miopen/src/logger.cpp
Comment thread projects/miopen/src/logger.cpp
Comment thread projects/miopen/src/logger.cpp
@JonathanLichtnerAMD
Copy link
Copy Markdown
Contributor

@cderb Should we add a unit test for this?

@cderb cderb requested a review from a team as a code owner October 30, 2025 23:58
Comment thread projects/miopen/src/logger.cpp Outdated
chuckwu20000 pushed a commit to chuckwu20000/rocm-libraries that referenced this pull request Oct 31, 2025
This PR implements `hipdnnEnginePluginExecuteOpGraph` enabling
graph/plan execution. We can now complete the initial plugin goal of e2e
run of single node ConvFprop graph.

Note: a simple e2e integration test is added. This should be expanded to
a parameterized matrix of test, once we're on the latest hipDNN
[example](https://github.com/ROCm/rocm-libraries/blob/develop/projects/hipdnn/plugins/miopen_legacy_plugin/integration_tests/IntegrationGpuConvForward.cpp).
Tickets: [ROCm#2363](nod-ai/amd-shark-ai#2363),
[ROCm#2375](nod-ai/amd-shark-ai#2375).
@cderb
Copy link
Copy Markdown
Contributor Author

cderb commented Oct 31, 2025

@cderb Should we add a unit test for this?

I'm not inclined to at this point.

@JonathanLichtnerAMD JonathanLichtnerAMD merged commit 03f00c1 into develop Nov 4, 2025
44 of 57 checks passed
@JonathanLichtnerAMD JonathanLichtnerAMD deleted the users/cderb/log_timestamp branch November 4, 2025 16:15
assistant-librarian Bot pushed a commit to ROCm/MIOpen that referenced this pull request Nov 4, 2025
Timestamp option for logging

## Motivation

Timestamp for log messages can help identify delays during execution.

## Technical Details

Add method for fetching date time in milliseconds.
Environment switch to activate in logging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants