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

Address difference in l2_norm implementations #352

Merged
merged 2 commits into from
May 30, 2024
Merged

Conversation

adarshyoga
Copy link
Contributor

@adarshyoga adarshyoga commented May 16, 2024

  • Have you provided a meaningful PR description?

l2_norm workload's numba_dpex_k implementation contains a zero-initialization of the distance vector by each work-item. This is missing in other implementations - numba_dpex_p, numba_npr, numba_mlir_p, and sycl. This PR adds the zero initialization to the other implementations.

  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • If this PR is a work in progress, are you filing the PR as a draft?

@adarshyoga adarshyoga changed the title l2_norm code difference fix Address difference in l2_norm implementations May 16, 2024
@adarshyoga adarshyoga self-assigned this May 16, 2024
@adarshyoga adarshyoga marked this pull request as ready for review May 16, 2024 17:00
@adarshyoga adarshyoga requested a review from diptorupd May 16, 2024 17:12
@adarshyoga adarshyoga enabled auto-merge May 16, 2024 17:15
@adarshyoga adarshyoga merged commit a3575fe into main May 30, 2024
71 checks passed
@adarshyoga adarshyoga deleted the fix/l2_norm_diff branch May 30, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants