Skip to content
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

Optimize the omatcopy_cn/zomatcopy_cn kernels with RVV 1.0 intrinsic. #5056

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

tingboliao
Copy link

@tingboliao tingboliao commented Jan 8, 2025

Based on the scalar versions of omatcopy_cn/zomatcopy_cn, we optimized them with RVV 1.0 Intrinsic.
Subsequently, we conducted the functional and performance verifications on K230 and K1.

The performance data are shown as below:
Parameter setting: OPENBLAS_LOOPS = 10000.

1. K230 [C908, vlen = 128]@1.6GHz:
| Cases | Scalar / MFlops | Optimized RVV / MFlops |
| domatcopy.goto | 451.00 | 488.52 |
| zomatcopy.goto | 170.52 | 562.51 |

2. K1 [C908, vlen = 256]@1.6GHz:
| Cases | Scalar / MFlops | Optimized RVV / MFlops |
| domatcopy.goto | 354.33 | 468.74 |
| zomatcopy.goto | 176.64 | 603.88 |

In the above data, the bigger value is, the better performance is.

…sic.

Signed-off-by: tingbo.liao <tingbo.liao@starfivetech.com>
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.

1 participant