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

cpu: x64: brgemm: use range-based loop #2086

Conversation

Permanence-AI-Coder
Copy link
Contributor

The code changes in this PR were generated automatically by the Permanence AI Coder and reviewed by @eelenberg and @jweese. This PR replaces an iteration-based for loop over jmp_table_labels with a range-based for loop, which removes an unnecessary indexing variable, improves readability, and reduces potential off-by-one errors.

on-behalf-of: @permanence-ai github-ai@permanence.ai

Description

Please include a summary of the change. Please also include relevant motivation and context. See contribution guidelines for more details. If the change fixes an issue not documented in the project's Github issue tracker, please document all steps necessary to reproduce it.

Checklist

General

  • Do all unit and benchdnn tests (make test and make test_benchdnn_*) pass locally for each commit?
  • Have you formatted the code using clang-format?

@Permanence-AI-Coder Permanence-AI-Coder requested a review from a team as a code owner September 6, 2024 20:50
@Permanence-AI-Coder Permanence-AI-Coder changed the title cpu: x64: brgemm: replace iteration loop with range loop for jit brdgmm kernel cpu: x64: brgemm: use range-based loop Sep 6, 2024
@Permanence-AI-Coder Permanence-AI-Coder force-pushed the loop-algs-x64-jit-brdgmm-kernel-v3 branch from 1bc730d to 387fde8 Compare September 9, 2024 13:50
@github-actions github-actions bot added the platform:cpu-x64 Intel64/AMD64 processors. Codeowner: @oneapi-src/onednn-cpu-x64 label Sep 9, 2024
@vpirogov vpirogov added this to the v3.7 milestone Sep 9, 2024
@spalicki spalicki merged commit a760af4 into uxlfoundation:main Oct 2, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:cpu-x64 Intel64/AMD64 processors. Codeowner: @oneapi-src/onednn-cpu-x64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants