-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mlas] add loongarch lsx and lasx optimize code #17937
Conversation
@microsoft-github-policy-service agree company="Loongson Technology Corporation Limited" |
1 similar comment
@microsoft-github-policy-service agree company="Loongson Technology Corporation Limited" |
@snnn hello~ |
@faxu , please help review |
Is it possible to build the code and run the tests in QEMU, like https://wiki.debian.org/LoongArch/sbuildQEMU? |
hello~ qemu
download cross-compile tool
cfgtool.cmake
issuesWhen I run make cmd, I get the following error message.
I realized that the -mlsx (loongarch SIMD) compilation parameter is missing when compiling platform.cpp.
|
Nice! Would you please confirm that the cross-compile tool you showed to me is publicly available? Is it an official package from Fedora project? |
cross-compile tool source code come form gcc repository(commit id is cead92b7fc4d7a545dcf2f02397120e3c9afe1a3) |
We've put this toolchain into loongson's official repository |
I will go ahead and merge this PR. |
/azp run Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline, Linux OpenVINO CI Pipeline, Linux QNN CI Pipeline, MacOS CI Pipeline, ONNX Runtime Web CI Pipeline, Windows ARM64 QNN CI Pipeline, Windows CPU CI Pipeline |
/azp run Windows GPU CI Pipeline, Windows GPU TensorRT CI Pipeline, Windows x64 QNN CI Pipeline, onnxruntime-binary-size-checks-ci-pipeline, orttraining-linux-ci-pipeline, orttraining-linux-gpu-ci-pipeline, orttraining-ortmodule-distributed |
Azure Pipelines successfully started running 10 pipeline(s). |
Azure Pipelines successfully started running 7 pipeline(s). |
Build error: |
/azp run Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline, Linux OpenVINO CI Pipeline, Linux QNN CI Pipeline, MacOS CI Pipeline, ONNX Runtime Web CI Pipeline, Windows ARM64 QNN CI Pipeline, Windows CPU CI Pipeline |
Commenter does not have sufficient privileges for PR 17937 in repo microsoft/onnxruntime |
We fixed this issue. Also fixed some issues caused by clang-fomat |
/azp run Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline, Linux OpenVINO CI Pipeline, Linux QNN CI Pipeline, MacOS CI Pipeline, ONNX Runtime Web CI Pipeline, Windows ARM64 QNN CI Pipeline, Windows CPU CI Pipeline |
/azp run Windows GPU CI Pipeline, Windows GPU TensorRT CI Pipeline, Windows x64 QNN CI Pipeline, onnxruntime-binary-size-checks-ci-pipeline, orttraining-linux-ci-pipeline, orttraining-linux-gpu-ci-pipeline, orttraining-ortmodule-distributed |
Azure Pipelines successfully started running 7 pipeline(s). |
Azure Pipelines successfully started running 10 pipeline(s). |
/azp run Linux CPU CI Pipeline |
Azure Pipelines successfully started running 1 pipeline(s). |
hello~ |
No. Thanks. I've sent this PR to @yufenglee to review. |
@snnn , how about the code review progress? thanks. |
I will setup a CI build pipeline for this. |
thanks. We will also rebuild the main code for checking our code. |
Description
Hello we(@lixing-star) are the developers of loongson team.
We add 128 (lsx), 256 (lasx) vector optimization code for the loongarch architecture
100% tests passed, 0 tests failed out of 7
Development Environments1
LonngArch Documents