Skip to content

Add VMLA support for mixed-type integer matmuls - #4569

Merged
GMNGeoffrey merged 1 commit into
iree-org:mainfrom
GMNGeoffrey:i8-matmul
Jan 22, 2021
Merged

GMNGeoffrey merged 1 commit into
iree-org:mainfrom
GMNGeoffrey:i8-matmul

Conversation

@GMNGeoffrey

Copy link
Copy Markdown
Member

Adds support for i8 x i8 and i16 x i16. In both cases, the accumulator
and destination type is i32. This is the simple case, whereas if the
destination type were smaller, we'd probably want (need?) to do some
rescaling as part of the op. Ruy implements such rescaling, but I think
it would need to come as additional parameters to the op.

Includes adding support in the mhlo.dot[_general] lowering for differing
input/output element types.

Adds support for i8 x i8 and i16 x i16. In both cases, the accumulator
and destination type is i32. This is the simple case, whereas if the
destination type were smaller, we'd probably want (need?) to do some
rescaling as part of the op. Ruy implements such rescaling, but I think
it would need to come as additional parameters to the op.

Includes adding support in the mhlo.dot[_general] lowering for differing
input/output element types.
@GMNGeoffrey
GMNGeoffrey merged commit 80195ed into iree-org:main Jan 22, 2021
@GMNGeoffrey
GMNGeoffrey deleted the i8-matmul branch January 22, 2021 18:13
@hanhanW hanhanW mentioned this pull request Jan 22, 2021
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