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

Wrong Gemm library translation on sliced matrices #1401

Open
luigifusco opened this issue Oct 17, 2023 · 0 comments
Open

Wrong Gemm library translation on sliced matrices #1401

luigifusco opened this issue Oct 17, 2023 · 0 comments

Comments

@luigifusco
Copy link

Describe the bug
The library expansion for the Gemm operation using cublas is wrong on sliced matrices. This likely applies to other library expansions. Correct behavior would require the called library function to support strided matrices, which is not the case. The current implementation will detect the correct number of rows/columns involved as well as the row offset, but not the column offset.

The "pure" implementation works correctly.

To Reproduce
bug.zip

Expected behavior
Translation should fail or fallback to a pure implementation with a warning

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

No branches or pull requests

1 participant