Expose AffineToGPUPass for use with PassManager
authorAlex Zinenko <zinenko@google.com>
Mon, 1 Jul 2019 07:47:58 +0000 (00:47 -0700)
committerjpienaar <jpienaar@google.com>
Mon, 1 Jul 2019 16:55:24 +0000 (09:55 -0700)
commitd046b2ddecb5b07cc28d60f3b295b943f7aefa46
tree5b2f35490daa14ca7f9680e782a0220befe8d825
parent8c47e2ed5cb92a15843bb9c3754e6d1870d356f4
Expose AffineToGPUPass for use with PassManager

Originally, AffineToGPUPass was created and registered in the source file
mainly for testing purposes.  Provide a factory function that constructs
AffineToGPU pass to make it usable in pass pipelines.

PiperOrigin-RevId: 255902831
mlir/include/mlir/Conversion/AffineToGPU/AffineToGPUPass.h [new file with mode: 0644]
mlir/lib/Conversion/AffineToGPU/AffineToGPUPass.cpp