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

multik in andriod14 ,the transpose funtion is too slow #204

Open
CiChina opened this issue Apr 21, 2024 · 2 comments
Open

multik in andriod14 ,the transpose funtion is too slow #204

CiChina opened this issue Apr 21, 2024 · 2 comments
Labels
bug Something isn't working perf An issue/PR related to performance

Comments

@CiChina
Copy link

CiChina commented Apr 21, 2024

No description provided.

@CiChina
Copy link
Author

CiChina commented Apr 22, 2024

in andriod13,my app with multik run a ndarray only use about 100ms to transpose a ndarray,but in andriod 14,this process needs 2000+ms

@CiChina CiChina changed the title multik in andriod14 ,the transpose funtion is too multik in andriod14 ,the transpose funtion is too slow Apr 22, 2024
@devcrocod
Copy link
Collaborator

Oh, this is very strange. Matrix transposition is in multik-core and isn't tied to platforms or android versions.

Does the code differ from the version?

What is the size of the ndarrays?

Transposition, as far as I remember, is a view/lazy operation. We don't directly copy the data itself, we only change its representation. Copying occurs if data consistency is required for a subsequent operation.

@devcrocod devcrocod added bug Something isn't working perf An issue/PR related to performance labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working perf An issue/PR related to performance
Projects
None yet
Development

No branches or pull requests

2 participants