Add lowering of linalg.copy to an external C++ library and a test.
authorNicolas Vasilache <ntv@google.com>
Fri, 23 Aug 2019 18:08:59 +0000 (11:08 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Fri, 23 Aug 2019 18:09:53 +0000 (11:09 -0700)
commit7f42b3d72130c2ef70e254fc89cb4a297fbdab7a
tree1218b1bdc56992bfc447fe007e95f98a5fc3f0d4
parent3d409386a06a946b5f32e19f110f3faa81151ce3
Add lowering of linalg.copy to an external C++ library and a test.

This CL extends support for lowering of linalg to external C++ libraries with CopyOp. Currently this can only work when the permutation maps in the copies are identity. Future support for permutations will be added later.

PiperOrigin-RevId: 265093025
mlir/lib/Dialect/Linalg/Transforms/LowerToLLVMDialect.cpp
mlir/test/Linalg/llvm.mlir
mlir/test/mlir-cpu-runner/cblas_interface.cpp
mlir/test/mlir-cpu-runner/linalg_integration_test.mlir