diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index e96dfbafe..9763ca8b0 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -48,3 +48,12 @@ jobs: alias python='python3' cd python pip3 install -e '.[tests]' + + - name: Run tests + run: | + cd python + LIT_TEST_DIR="build/$(ls build)/test" + if [ ! -d "$LIT_TEST_DIR" ]; then + echo "Not found `$LIT_TEST_DIR`. Did you change an installation method?" ; exit -1 + fi + lit -v "$LIT_TEST_DIR" diff --git a/test/Triton/combine.mlir b/test/Triton/combine.mlir index a85d57e65..abb4c953a 100644 --- a/test/Triton/combine.mlir +++ b/test/Triton/combine.mlir @@ -59,7 +59,7 @@ func @test_combine_select_masked_load_pattern(%ptr: tensor<8x!tt.ptr>, %con // CHECK-LABEL: @test_combine_broadcast_constant_pattern func @test_combine_broadcast_constant_pattern(%cst : f32) -> tensor<8x2xf32> { - // CHECK: %[[cst:.*]] = arith.constant dense<0.000000e+00> : tensor<8x2xf32> + // CHECK: %[[cst:.*]] = arith.constant dense<1.000000e+00> : tensor<8x2xf32> %const = arith.constant dense<1.0> : tensor<8xf32> %bst_out = tt.broadcast %const : (tensor<8xf32>) -> tensor<8x2xf32>