llvm-project/mlir/tools/mlir-cuda-runner
Nicolas Vasilache f51a155337 Add support for alignment attribute in std.alloc.
This CL adds an extra pointer to the memref descriptor to allow specifying alignment.

In a previous implementation, we used 2 types: `linalg.buffer` and `view` where the buffer type was the unit of allocation/deallocation/alignment and `view` was the unit of indexing.

After multiple discussions it was decided to use a single type, which conflates both, so the memref descriptor now needs to carry both pointers.

This is consistent with the [RFC-Proposed Changes to MemRef and Tensor MLIR Types](https://groups.google.com/a/tensorflow.org/forum/#!searchin/mlir/std.view%7Csort:date/mlir/-wKHANzDNTg/4K6nUAp8AAAJ).

PiperOrigin-RevId: 279959463
2019-11-12 07:06:54 -08:00
..
CMakeLists.txt NFC: rename Conversion/ControlFlowToCFG to Conversion/LoopToStandard 2019-10-03 01:35:03 -07:00
cuda-runtime-wrappers.cpp Add support for alignment attribute in std.alloc. 2019-11-12 07:06:54 -08:00
mlir-cuda-runner.cpp GPUToCUDA: attach CUBIN to the nested module rather than to the function 2019-10-08 05:11:26 -07:00