This is an archive of the discontinued LLVM Phabricator instance.

[linalg] Add basic support for dynamic tensor results in TensorToBuffers.cpp.
ClosedPublic

Authored by pifon2a on Oct 3 2020, 4:03 AM.

Details

Summary

The simplest case is when the indexing maps are DimIds in every component. This covers cwise ops.

Also:

  • Expose populateConvertLinalgOnTensorsToBuffersPatterns in Transforms.h
  • Expose emitLoopRanges in Transforms.h

Diff Detail

Event Timeline

pifon2a created this revision.Oct 3 2020, 4:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2020, 4:03 AM
pifon2a requested review of this revision.Oct 3 2020, 4:03 AM
nicolasvasilache accepted this revision.Oct 7 2020, 1:36 AM

Very cool, thanks @pifon2a !
Next step, Gaussian-elimination like range-inference ? ;)

This revision is now accepted and ready to land.Oct 7 2020, 1:36 AM
nicolasvasilache accepted this revision.Oct 8 2020, 2:29 AM

Nice, thanks for this!

This revision was landed with ongoing or failed builds.Oct 8 2020, 2:56 AM
This revision was automatically updated to reflect the committed changes.