Skip to content

Commit 0664db5

Browse files
author
Kun Wu
committed
[mlir][sparse][gpu] fix spgemm runtime compile error
Differential Revision: https://reviews.llvm.org/D157349
1 parent 12a22ec commit 0664db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ extern "C" MLIR_CUDA_WRAPPERS_EXPORT intptr_t mgpuSpGEMMWorkEstimation(
609609
cusparseSpGEMMDescr_t spgemmDesc = reinterpret_cast<cusparseSpGEMMDescr_t>(s);
610610
cusparseOperation_t modeA = static_cast<cusparseOperation_t>(ma);
611611
cusparseOperation_t modeB = static_cast<cusparseOperation_t>(mb);
612-
cusparseSpGEMMAlg_t algType = static_cast<cusparseSpGEMMAlg_t>(alg);
612+
cusparseSpGEMMAlg_t algorithm = static_cast<cusparseSpGEMMAlg_t>(alg);
613613
cusparseSpMatDescr_t matA = reinterpret_cast<cusparseSpMatDescr_t>(a);
614614
cusparseSpMatDescr_t matB = reinterpret_cast<cusparseSpMatDescr_t>(b);
615615
cusparseSpMatDescr_t matC = reinterpret_cast<cusparseSpMatDescr_t>(c);

0 commit comments

Comments
 (0)