Skip to content

[MIOpen] Port LRN kernels from OpenCL to HIP#4887

Draft
EwanC wants to merge 1 commit intoROCm:developfrom
StreamHPC:EwanC/miope_lrn_kernel_port
Draft

[MIOpen] Port LRN kernels from OpenCL to HIP#4887
EwanC wants to merge 1 commit intoROCm:developfrom
StreamHPC:EwanC/miope_lrn_kernel_port

Conversation

@EwanC
Copy link
Contributor

@EwanC EwanC commented Feb 25, 2026

Motivation

Convert LRN MIOpen kernel from OpenCL-C to HIP

Technical Details

  • Removed unused kernel parameter from forward kernels.
  • No equivalent of mad24 from OpenCL-C in HIP, so used fma

Test Plan

Tested by running test_lrn and doing a performance comparison.

Test Result

All tests pass on MI210 and performance comparison to be sent internally.

Submission Checklist

Removed unused kernel parameter from forward kernels.

Tested by running `test_lrn` on MI210.
@EwanC EwanC added project: miopen organization: streamhpc contributors from streamhpc labels Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant