Repository navigation
fix(hipDNN): add required ComputeType template arg to CpuReferencePointwiseImpl - #596
Merged
zichguan-amd merged 1 commit intoNov 24, 2026
Merged
Conversation
Security scan found no critical or high findings on lines changed by this pull requestView the security scan run for complete reports. “New” means the finding is located in a changed file on an added or modified line; it is not a base-versus-head findings delta. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Libraries/hipDNN/fused_conv_fprop_activ/main.cppandfused_conv_fprop_bias_activ/main.cppfail to compile against the current ROCm nightly (
10.3.0a20261123+) on allgfx1100configurations:
Upstream
rocm-librariesPR #15139("fix(hipdnn): Fix reference semantics and failure reporting in the CPU pointwise reference",
commit
a04404e51e4, merged 2026-11-18) changedhipdnn_test_sdk::utilities::CpuReferencePointwiseImplfrom<OutputType, InputTypes...>to<OutputType, ComputeType, InputTypes...>. That PR's owndescription says:
It updated upstream's own sibling copies of these same samples
(
rocm-libraries/projects/hipdnn/samples/convolution/FusedConvFpropActiv.cppandFusedConvFpropBiasActiv.cpp) but not the copies vendored here, which this PR brings in sync.Technical Details
Add
doubleas theComputeTypetemplate argument at the 3 affected call sites, matchingupstream's own fix verbatim:
fused_conv_fprop_activ/main.cpp:142fused_conv_fprop_bias_activ/main.cpp:167, 174Test Plan
(
therock-dist-linux-gfx110X-all-tests-10.3.0a20261123.tar.gz, exact version match to thefailing CI run) — compiles clean, previously failed with the error above.
gfx1100hardware viactest --output-on-failure:hipdnn_fused_conv_fprop_activandhipdnn_fused_conv_fprop_bias_activ— both passed.