dace icon indicating copy to clipboard operation
dace copied to clipboard

Wrong Gemm library translation on sliced matrices

Open luigifusco opened this issue 2 years ago • 0 comments

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

luigifusco avatar Oct 17 '23 22:10 luigifusco