[Mlir-commits] [mlir] 76b7dca - [mlir][sparse][gpu] fixed typo in CUDA test

Aart Bik llvmlistbot at llvm.org
Wed May 24 18:00:45 PDT 2023


Author: Aart Bik
Date: 2023-05-24T18:00:23-07:00
New Revision: 76b7dca47d660301666bc920e98e9b235bf5d8bb

URL: https://github.com/llvm/llvm-project/commit/76b7dca47d660301666bc920e98e9b235bf5d8bb
DIFF: https://github.com/llvm/llvm-project/commit/76b7dca47d660301666bc920e98e9b235bf5d8bb.diff

LOG: [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

Added: 
    

Modified: 
    mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-matvec-lib.mlir

Removed: 
    


################################################################################
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 3f05eb691ba42..9dcbdcbeacd17 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<?xf64>, vector<64xf64>
     vector.print %pb0 : vector<64xf64>
-    %pb1 = vector.transfer_read %0[%c0], %f0 : tensor<?xf64>, vector<64xf64>
+    %pb1 = vector.transfer_read %1[%c0], %f0 : tensor<?xf64>, vector<64xf64>
     vector.print %pb1 : vector<64xf64>
 
     // Release the resources.


        


More information about the Mlir-commits mailing list