From e49f690fd7969015343a2b5d72549848e760eb65 Mon Sep 17 00:00:00 2001 From: Haicheng Wu <57973641+hwu36@users.noreply.github.com> Date: Thu, 28 Apr 2022 14:04:53 -0400 Subject: [PATCH] Update linear_combination_generic.h --- include/cutlass/epilogue/thread/linear_combination_generic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cutlass/epilogue/thread/linear_combination_generic.h b/include/cutlass/epilogue/thread/linear_combination_generic.h index e7f55ffe..a28ba8df 100644 --- a/include/cutlass/epilogue/thread/linear_combination_generic.h +++ b/include/cutlass/epilogue/thread/linear_combination_generic.h @@ -103,7 +103,7 @@ public: CUTLASS_HOST_DEVICE Params( ElementCompute alpha, - ElementCompute beta + ElementCompute beta = ElementCompute(0) ): alpha(alpha), beta(beta), alpha_ptr(nullptr), beta_ptr(nullptr) { } @@ -111,7 +111,7 @@ public: CUTLASS_HOST_DEVICE Params( ElementCompute const *alpha_ptr, - ElementCompute const *beta_ptr + ElementCompute const *beta_ptr = nullptr ): alpha(0), beta(0), alpha_ptr(alpha_ptr), beta_ptr(beta_ptr) { }