From 49d18211495aeb221c57eeb0ac0fb2ae17f392cc Mon Sep 17 00:00:00 2001 From: Yan Da Date: Wed, 8 Jun 2022 16:19:15 +0800 Subject: [PATCH] conversion test --- test/Conversion/ops.mlir | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/Conversion/ops.mlir diff --git a/test/Conversion/ops.mlir b/test/Conversion/ops.mlir new file mode 100644 index 000000000..a98cf251b --- /dev/null +++ b/test/Conversion/ops.mlir @@ -0,0 +1,9 @@ +// RUN triton-opt %s -convert-triton-to-tritongpu + +func @ops() { + %a = arith.constant dense<1.00e+00> : tensor<128x32xf16> + %b = arith.constant dense<2.00e+00> : tensor<32x128xf16> + %c = arith.constant dense<3.00e+00> : tensor<128x128xf32> + %0 = tt.dot %a, %b, %c {allowTF32 = true} : tensor<128x32xf16> * tensor<32x128xf16> -> tensor<128x128xf32> + return +} \ No newline at end of file