Rahul Joshi 35fc7c9443 [XLA:GPU] Migrate convolution thunk emission to MLIR
- Map MLIR LHLO Conv operations to ConvolutionThunk.
- Refactor GetGpuConvConfig() to take in a conv descriptor, so that the same function
  can be used to emit a thunk from XLA HLO and MLIR representations.
- Change XlaConvLayoutsToStreamExecutorLayouts() to check shape<->layout
  compatibility instead of layout equality, since some XLA layouts with unit dimensions
   are not preserved in XLA HLO Shape -> MLIR -> XLA HLO Shape path.
- Note that window reversal is not yet representable in HLO/LHLO, so fall back to
   XLA HLO based thunk emission for that case.

PiperOrigin-RevId: 347529995
Change-Id: I883ed8efe3d73fee2e4cbba4fa1173d5f67be7d8
2020-12-14 20:55:56 -08:00
..
2019-11-04 13:53:39 -08:00

Common utilities and abstractions for handling and emitting LLVM IR for XLA backends.