This is an archive of the discontinued LLVM Phabricator instance.

Add linalg.batch_matvec named op
ClosedPublic

Authored by asaadaldien on Jun 22 2021, 12:55 PM.

Details

Summary
Similarly to batch_mat vec outer most dim is a batching dim
and this op does |b| matrix-vector-products :
C[b, i] = sum_k(A[b, i, k] * B[b, k])

Diff Detail

Event Timeline

asaadaldien created this revision.Jun 22 2021, 12:55 PM
asaadaldien requested review of this revision.Jun 22 2021, 12:55 PM
asaadaldien retitled this revision from Add linalg.batch_matvec named op Similarly to batch_mat vec outer most dim is a batching dim and this op does |b| matrix-vector-products : C[b, i] = sum_k(A[b, i, k] * B[b, k]) to Add linalg.batch_matvec named opSimilarly to batch_mat vec outer most dim is a batching dimand this op does |b| matrix-vector-products : C[b, i] = sum_k(A[b, i, k] * B[b, k]).Jun 22 2021, 12:56 PM
asaadaldien edited the summary of this revision. (Show Details)
asaadaldien retitled this revision from Add linalg.batch_matvec named opSimilarly to batch_mat vec outer most dim is a batching dimand this op does |b| matrix-vector-products : C[b, i] = sum_k(A[b, i, k] * B[b, k]) to Add linalg.batch_matvec named op.
asaadaldien edited the summary of this revision. (Show Details)
asaadaldien retitled this revision from Add linalg.batch_matvec named op to Add linalg.batch_matvec named op.

Rebase...

mravishankar edited reviewers, added: rsuderman; removed: mravishankar.Jun 28 2021, 9:57 AM
rsuderman accepted this revision.Jun 29 2021, 12:52 PM
This revision is now accepted and ready to land.Jun 29 2021, 12:52 PM

Generate YAML changes by running mlir.dialects.linalg.opdsl.dump

rsuderman accepted this revision.Jun 30 2021, 11:23 AM
This revision was landed with ongoing or failed builds.Jun 30 2021, 11:37 AM
This revision was automatically updated to reflect the committed changes.