From: Aart Bik Date: Wed, 24 May 2023 20:09:59 +0000 (-0700) Subject: [mlir][sparse][gpu] fixed typo in CUDA test X-Git-Tag: upstream/17.0.6~7298 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76b7dca47d660301666bc920e98e9b235bf5d8bb;p=platform%2Fupstream%2Fllvm.git [mlir][sparse][gpu] fixed typo in CUDA test Test was printing same result twice Reviewed By: K-Wu Differential Revision: https://reviews.llvm.org/D151370 --- diff --git a/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec-lib.mlir b/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec-lib.mlir index 3f05eb6..9dcbdcbe 100644 --- a/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec-lib.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec-lib.mlir @@ -87,7 +87,7 @@ module { // %pb0 = vector.transfer_read %0[%c0], %f0 : tensor, vector<64xf64> vector.print %pb0 : vector<64xf64> - %pb1 = vector.transfer_read %0[%c0], %f0 : tensor, vector<64xf64> + %pb1 = vector.transfer_read %1[%c0], %f0 : tensor, vector<64xf64> vector.print %pb1 : vector<64xf64> // Release the resources.