[Mlir-commits] [mlir] 0664db5 - [mlir][sparse][gpu] fix spgemm runtime compile error

Kun Wu llvmlistbot at llvm.org
Mon Aug 7 18:37:37 PDT 2023


Author: Kun Wu
Date: 2023-08-08T01:37:31Z
New Revision: 0664db5425edca9e9ad59bd9533094426d72eaf3

URL: https://github.com/llvm/llvm-project/commit/0664db5425edca9e9ad59bd9533094426d72eaf3
DIFF: https://github.com/llvm/llvm-project/commit/0664db5425edca9e9ad59bd9533094426d72eaf3.diff

LOG: [mlir][sparse][gpu] fix spgemm runtime compile error

Differential Revision: https://reviews.llvm.org/D157349

Added: 
    

Modified: 
    mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp b/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
index aece4c55454aa1..e747541bff5ab8 100644
--- a/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
+++ b/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
@@ -609,7 +609,7 @@ extern "C" MLIR_CUDA_WRAPPERS_EXPORT intptr_t mgpuSpGEMMWorkEstimation(
   cusparseSpGEMMDescr_t spgemmDesc = reinterpret_cast<cusparseSpGEMMDescr_t>(s);
   cusparseOperation_t modeA = static_cast<cusparseOperation_t>(ma);
   cusparseOperation_t modeB = static_cast<cusparseOperation_t>(mb);
-  cusparseSpGEMMAlg_t algType = static_cast<cusparseSpGEMMAlg_t>(alg);
+  cusparseSpGEMMAlg_t algorithm = static_cast<cusparseSpGEMMAlg_t>(alg);
   cusparseSpMatDescr_t matA = reinterpret_cast<cusparseSpMatDescr_t>(a);
   cusparseSpMatDescr_t matB = reinterpret_cast<cusparseSpMatDescr_t>(b);
   cusparseSpMatDescr_t matC = reinterpret_cast<cusparseSpMatDescr_t>(c);


        


More information about the Mlir-commits mailing list