diff --git a/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp b/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp --- a/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp +++ b/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp @@ -609,7 +609,7 @@ cusparseSpGEMMDescr_t spgemmDesc = reinterpret_cast(s); cusparseOperation_t modeA = static_cast(ma); cusparseOperation_t modeB = static_cast(mb); - cusparseSpGEMMAlg_t algType = static_cast(alg); + cusparseSpGEMMAlg_t algorithm = static_cast(alg); cusparseSpMatDescr_t matA = reinterpret_cast(a); cusparseSpMatDescr_t matB = reinterpret_cast(b); cusparseSpMatDescr_t matC = reinterpret_cast(c);