Repository navigation
[CUDA] Special case for K==0 in CUDA MatMul - #21525
Conversation
|
/azp run Windows GPU CI Pipeline |
|
No pipelines are associated with this pull request. |
|
Dmitri Smirnov (@yuslepukhin) Tianlei Wu (@tianleiwu) |
|
We do not have AIX build, however, my hunch is that |
|
Hi Dmitri Smirnov (@yuslepukhin) |
|
It depends on the floating-point format used on AIX. I have not worked with AIX for nearly 20 years. |
### Description
Replace `memset(0)` with `std::fill(T{})`. This would ensure that all
the types are initialized in a portable way.
### Motivation and Context
Some platforms exhibit intermittent failures with NaN results.
Follow up to: #21525
Cc: @ranjitshs
### Description
Replace `memset(0)` with `std::fill(T{})`. This would ensure that all
the types are initialized in a portable way.
### Motivation and Context
Some platforms exhibit intermittent failures with NaN results.
Follow up to: microsoft/onnxruntime#21525
Cc: @ranjitshs
### Description
Replace `memset(0)` with `std::fill(T{})`. This would ensure that all
the types are initialized in a portable way.
### Motivation and Context
Some platforms exhibit intermittent failures with NaN results.
Follow up to: microsoft/onnxruntime#21525
Cc: @ranjitshs
Description
This change addresses a case where we multiply two matrices, and their inner dimension is 0.
numpy and Eigen which is being used in our CPU EP implementation correctly handle this case
and output a [M, N] matrix filled with zeros.
Motivation and Context
This is required to support GenAI empty input Lora implementation.
Addresses: #21483