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

Fix IPU Jacobi eigh algorithm when size % 4 == 2 #50

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

balancap
Copy link
Contributor

The recent improvement in PR #49 introduced a regression in Jacobi eigh, raising an error when size % 4 == 2. This is due to the partial loop unrolling in Jacobi second update stage.

This PR is fixing the issue by passing explicitely the offset and size of the workload to the vertex.

@balancap balancap force-pushed the fix-ipu-jacobi-eigh-size-10 branch from 6ea2fdd to 5ca7014 Compare October 18, 2023 16:04
The recent improvement in PR #49 introduced a regression in Jacobi
`eigh`, raising an error when size % 4 == 2. This is due to the partial
loop unrolling in Jacobi second update stage.

This PR is fixing the issue by passing explicitely the offset and size
of the workload to the vertex.
@balancap balancap force-pushed the fix-ipu-jacobi-eigh-size-10 branch from 5ca7014 to 1a8d53e Compare October 19, 2023 14:47
@balancap balancap merged commit 0e1939e into main Oct 19, 2023
6 checks passed
@balancap balancap deleted the fix-ipu-jacobi-eigh-size-10 branch October 19, 2023 15:04
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.

1 participant