Skip to content

Conversation

adjordje-amd
Copy link
Contributor

@adjordje-amd adjordje-amd commented Oct 16, 2025

Motivation

Introduce unit tests into the rocprof-sys project using gtest/gmock. For this purpose, the AMD SMI module has been chosen.

Technical Details

Refactor the AMD SMI code to make it unit testable. Split it into smaller modules and use templates for dependency injection in order to inject mock implementations.

Test Plan

Test Result

Submission Checklist

@adjordje-amd adjordje-amd changed the title Users/adjordje/unit tests amd smi [rocprof-systems] AMD SMI GTest integration Oct 16, 2025
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.

1 participant