This is an archive of the discontinued LLVM Phabricator instance.

[mlir][EDSC][Linalg] Compose linalg_matmul and vector.contract
ClosedPublic

Authored by nicolasvasilache on Feb 11 2020, 5:49 PM.

Details

Summary

This revision allows model builder to create a linalg_matmul whose body
is a vector.contract. This shows the abstractions compose nicely.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptFeb 11 2020, 5:49 PM
aartbik added inline comments.Feb 11 2020, 9:56 PM
mlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
136

typo: scalar

aartbik accepted this revision.Feb 12 2020, 9:49 AM

trusting that you will fix both typos, good to land

mlir/lib/Dialect/Linalg/EDSC/Builders.cpp
218

expected 2 block arguments!

This revision is now accepted and ready to land.Feb 12 2020, 9:49 AM
nicolasvasilache marked an inline comment as done.

ddress review comments.

nicolasvasilache marked an inline comment as done.Feb 12 2020, 10:51 AM
This revision was automatically updated to reflect the committed changes.