Skip to content

Implement QLinearMul in mlas#4593

Merged
zhanghuanrong merged 9 commits into
masterfrom
zhalei/qlmul
Sep 4, 2020
Merged

Implement QLinearMul in mlas#4593
zhanghuanrong merged 9 commits into
masterfrom
zhalei/qlmul

Conversation

@zhanghuanrong
Copy link
Copy Markdown
Contributor

Operator will be added later.

@zhanghuanrong zhanghuanrong requested a review from a team as a code owner July 22, 2020 23:23
@zhanghuanrong zhanghuanrong requested a review from tracysh July 22, 2020 23:24
before build first draft.

build ok?

pass build

Working qlmul test and sse2

drafting arm implementation.

Fixed build for arm and pass linux arm32 test.

Move common shared routine helpers to include file for add/mul
correct some origin minor unused ptr inc, includes.

Formatting.

unroll more for sse2 qlmul

erase empty line

Another working version with speed test.

SSE2 using int16 multiple for (qa-zeroa) * (qb-zerob).

Move some function to header file.

Remove speed test code from mlastest.

Fix x86 build break on windows.

Add QLinearMul operator based on mlas_qlinear_mul and test.
Comment thread onnxruntime/core/mlas/lib/qlmul.cpp Outdated
Comment thread onnxruntime/core/mlas/lib/qlmul.cpp Outdated
Comment thread onnxruntime/core/mlas/lib/qlmul.cpp Outdated
Comment thread onnxruntime/core/mlas/lib/qlmul.cpp Outdated
Comment thread onnxruntime/core/mlas/lib/qlmul.cpp Outdated
Comment thread onnxruntime/core/mlas/lib/qlmul.cpp Outdated
Comment thread onnxruntime/core/mlas/lib/qlmul.cpp Outdated
@zhanghuanrong zhanghuanrong merged commit ec88f14 into master Sep 4, 2020
@zhanghuanrong zhanghuanrong deleted the zhalei/qlmul branch September 4, 2020 22:02
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