Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HIPIFY][perl][#1776][#1823][fix] Return to using for each instead of while in some loops #1843

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

emankov
Copy link
Collaborator

@emankov emankov commented Jan 23, 2025

[Reason]

  • Those while loops were actually not executed without any even warning from Perl
  • It looks like the arrays provided in while statements were treated as maps

[Results]

…instead of `while` in some loops

[Reason]
+ Those `while` loops were actually not executed without any even warning from Perl
+ It looks like the `arrays` provided in `while` statements were treated as `maps`

[Results]
+ Actual performance improvement is about 10%, instead of 450% hastily announced in ROCm#1823
@emankov emankov added enhancement Enhancement fix It fixes bug perl perl-related labels Jan 23, 2025
@emankov emankov self-assigned this Jan 23, 2025
@emankov emankov requested a review from searlmc1 as a code owner January 23, 2025 17:59
@emankov emankov merged commit 9cf0bab into ROCm:amd-staging Jan 23, 2025
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement fix It fixes bug perl perl-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant