multik icon indicating copy to clipboard operation
multik copied to clipboard

multik in andriod14 ,the transpose funtion is too slow

Open CiChina opened this issue 2 years ago • 2 comments

CiChina avatar Apr 21 '24 17:04 CiChina

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 avatar Apr 22 '24 06:04 CiChina

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 avatar Apr 22 '24 13:04 devcrocod