zpzim / SCAMP

The fastest way to compute matrix profiles on CPU and GPU!
http://www.cs.ucr.edu/~eamonn/MatrixProfile.html
MIT License
155 stars 35 forks source link

Improve performance of matrix summaries when the output matrix is large. #107

Open zpzim opened 2 years ago

zpzim commented 2 years ago

SCAMP's performance drops considerably when using multithreading when the output matrix is large. This is because it makes a copy of the the output matrix for each thread.

We can fix this by only allocating what the tile needs and transferring only those values.