Skip to content

Commit

Permalink
Update linear_combination_generic.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hwu36 authored Apr 28, 2022
1 parent 96dad61 commit e49f690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cutlass/epilogue/thread/linear_combination_generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@ class LinearCombinationGeneric {
CUTLASS_HOST_DEVICE
Params(
ElementCompute alpha,
ElementCompute beta
ElementCompute beta = ElementCompute(0)
): alpha(alpha), beta(beta), alpha_ptr(nullptr), beta_ptr(nullptr) {

}

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) {

}
Expand Down

0 comments on commit e49f690

Please sign in to comment.