[hipDNN] Migrate private code to detail folders & namespace#4216
[hipDNN] Migrate private code to detail folders & namespace#4216SamuelReeder merged 24 commits intodevelopfrom
Conversation
Codecov Report❌ Patch coverage is ❌ Your project status has failed because the head coverage (76.83%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #4216 +/- ##
===========================================
+ Coverage 65.32% 65.33% +0.01%
===========================================
Files 1579 1582 +3
Lines 242137 242134 -3
Branches 33920 33920
===========================================
+ Hits 158163 158182 +19
+ Misses 69952 69931 -21
+ Partials 14022 14021 -1
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
jerehartAMD
left a comment
There was a problem hiding this comment.
Some namespaces I found that are nested one level too deep:
- Just added in Graph.hpp two blocks in hipdnn_frontend::graph::detail
- In LoadGraphAndTensors.hpp, a namespace in hipdnn_test_sdk::utilities::detail
adickin-amd
left a comment
There was a problem hiding this comment.
Looks great, thanks for doing all these moves to detail. Just a few non blocking comments if you choose to address them.
SummaryThis is a well-structured refactoring PR that properly separates internal implementation code from the public API by introducing Strengths:
Suggestions for improvement:
Overall assessment: The PR is well-executed and achieves its stated goal of moving private implementation code into internal namespaces, which will facilitate easier maintenance and cleaner API versioning going forward. Generated by Claude Code |
Motivation
We want to move private code into an internal (detail) area that can omit versioning for easier changes and unnecessary bumps.
Technical Details
Moves everything that meets the following criteria into a
<subcomponent>::detailnamespace and folder:Migrations:
Frontend (
hipdnn_frontend::detail)BackendLoggingHelpers.hppBackendWrapper.hppHipdnnBackendInterface.hppScopedHipdnnBackendDescriptor.hppTopologicalSortingUtils.hppUtilities.hppTest SDK (
hipdnn_test_sdk::detail)*Plan.hpp(Convolution, Batchnorm, Matmul, Pointwise)*SignatureKey.hpp(plan caching/registry)IGraphNodePlanBuilder.hpp,IGraphNodePlanExecutor.hppCpuFpReferenceUtilities.hpp,FlatbufferTensorAttributesUtils.hpp,PlanUtils.hpp,PlanBuilderRegistry.hpp,ScopedExecute.hppData SDK (
hipdnn_data_sdk::logging::detail)CallbackSink.hppPlugin SDK
Nothing applicable found in the plugin_sdk.
Test Plan
Submission Checklist