Skip to content

Support alpha beta scaling for GEMM#78

Merged
asroy merged 8 commits into
developfrom
gemm_alpha_beta
Feb 11, 2022
Merged

Support alpha beta scaling for GEMM#78
asroy merged 8 commits into
developfrom
gemm_alpha_beta

Conversation

@rocking5566
Copy link
Copy Markdown
Collaborator

Support C = (alpha * A * B) + (beta * C0)

Comment thread composable_kernel/include/tensor_operation/element_wise_operation.hpp Outdated
Comment thread composable_kernel/include/tensor_operation/element_wise_operation.hpp Outdated
Comment thread composable_kernel/include/tensor_operation/element_wise_operation.hpp Outdated
Comment thread composable_kernel/include/tensor_operation/element_wise_operation.hpp Outdated
asroy
asroy previously approved these changes Feb 9, 2022
Comment thread composable_kernel/include/tensor_operation/element_wise_operation.hpp Outdated
DeviceGemmXdl_C_Shuffle_Bias_2d::MakeAGridDescriptor_K0_M_K1(M, K, StrideA);
b_grid_desc_k0_n_k1_ =
DeviceGemmXdl_C_Shuffle_Bias_2d::MakeBGridDescriptor_K0_N_K1(K, N, StrideB);
c0_grid_desc_m_n_ =
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bias could be using a different stride from C matrix.

Please fix it in future PR.

Comment thread device_operation/include/device_gemm_xdl_c_shuffle_bias_2d.hpp
@asroy asroy mentioned this pull request Feb 11, 2022
2 tasks
@asroy asroy merged commit 6f928a0 into develop Feb 11, 2022
@junliume junliume deleted the gemm_alpha_beta branch October 21, 2023 06:09
carlushuang pushed a commit that referenced this pull request Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants