onnxruntime/onnxruntime
Ye Wang 633dec0b17
refactor some code (#15566)
### Description
<!-- Describe your changes. -->

1. moved onnxruntime/contrib_ops/cuda/decoder to
onnxruntime/contrib_ops/cuda/bert
2. create utils.cuh under /bert for shared implementations in
decoder_masked_multihead_attention_impl_utils.h and
rotary_embedding_util.h
3. refactored relative_attn_bias_impl.cu by reusing the template
specializations in utils.cuh

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

---------

Co-authored-by: Ubuntu <wy@v100-2.0cdb2e52twzevn1i4fi45bylyg.jx.internal.cloudapp.net>
2023-04-21 12:57:08 -07:00
..
contrib_ops refactor some code (#15566) 2023-04-21 12:57:08 -07:00
core Tune block size for layer_norm considering #rows and GPU resource (#15410) 2023-04-21 09:49:21 -07:00
python Fix issues for Whisper export with beam search (#15619) 2023-04-21 00:08:58 -07:00
test [QNN EP] Update Windows ARM64 pipeline to use Visual Studio 2022 (#15607) 2023-04-21 09:31:10 -07:00
tool/etw Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
wasm Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
__init__.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
ReformatSource.ps1 Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
ReformatSourcePython.bat
VSCodeCoverage.runsettings