This is an archive of the discontinued LLVM Phabricator instance.

[mlir][nvgpu] NFC - move NVGPU conversion helpers to NvGpu utils library
ClosedPublic

Authored by christopherbate on Oct 5 2022, 12:22 PM.

Details

Summary

The ConvertVectorToGpu pass implementation contained a small private
support library for performing various calculations during conversion
between vector and nvgpu.mma.sync and nvgpu.ldmatrix operations.
The support library is moved under Dialect/NVGPU/Utils because the
functions have wider utility. Some documentation comments are added or
improved.

Diff Detail

Event Timeline

christopherbate requested review of this revision.Oct 5 2022, 12:22 PM
ThomasRaoux accepted this revision.Oct 5 2022, 3:57 PM
This revision is now accepted and ready to land.Oct 5 2022, 3:57 PM
aartbik added inline comments.Oct 5 2022, 8:43 PM
mlir/lib/Dialect/NVGPU/Utils/CMakeLists.txt
1

This will need a bazel update.