llvm-capstone/mlir/integration_test
Tobias Gysi 99f3510b41 Reland "[mlir] add support for verification in integration tests"
The patch extends the runner utils by verification methods that compare two memrefs. The methods compare the content of the two memrefs and print success if the data is identical up to a small numerical error. The methods are meant to simplify the development of integration tests that compare the results against a reference implementation (cf. the updates to the linalg matmul integration tests).

Originally landed in 5fa893c (https://reviews.llvm.org/D96326) and reverted in dd719fd due to a Windows build failure.

Changes:
- Remove the max function that requires the "algorithm" header on Windows
- Eliminate the truncation warning in the float specialization of verifyElem by using a float constant

Reviewed By: Kayjukh

Differential Revision: https://reviews.llvm.org/D96593
2021-02-14 20:30:05 +01:00
..
data [mlir][sparse] improved sparse runtime support library 2021-01-16 12:16:10 -08:00
Dialect Reland "[mlir] add support for verification in integration tests" 2021-02-14 20:30:05 +01:00
Sparse/CPU [mlir][sparse] sparse tensor storage implementation 2021-02-10 11:57:24 -08:00
CMakeLists.txt [MLIR][AVX512] Add integration test for vp2intersect 2021-02-09 16:43:37 +09:00
lit.cfg.py [mlir] NFC: fix trivial typo under test and tools 2020-08-27 15:37:42 +09:00
lit.site.cfg.py.in Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00