[go-nuts] Re: Parallel Matrix Multiplication

2021-03-25 Thread Gabriel Pcklub
Hello, what is Threshold constant in code for? I wanted to try your code, but with Threshold 1 it take all of 16GB RAM I have and crash on sigkill. When I use Threshold 8 it seems ok, but when I use 64, it again take a lot of RAM... I thought it's count of Threads that program will use, while r

Re: [go-nuts] Re: Parallel Matrix Multiplication

2021-03-25 Thread jasmuth
Blast from the past so it's hard to be sure, but I think that was how many rows or columns to pick for parallel sub matrices to multiply. On Thu, Mar 25, 2021, 1:17 PM Gabriel Pcklub wrote: > Hello, what is Threshold constant in code for? I wanted to try your code, > but with Threshold 1 it take

Re: [go-nuts] Re: Parallel Matrix Multiplication

2021-03-25 Thread 'Dan Kortschak' via golang-nuts
On Thu, 2021-03-25 at 14:20 -0400, jasm...@gmail.com wrote: > Blast from the past so it's hard to be sure, but I think that was how > many rows or columns to pick for parallel sub matrices to multiply. > > On Thu, Mar 25, 2021, 1:17 PM Gabriel Pcklub < > gabrielpckl...@gmail.com> wrote: > > Hello,

Re: [go-nuts] Re: Parallel Matrix Multiplication

2021-03-27 Thread Gabriel Pcklub
thanks for explanation, well, how can I change that code, so it will take count of Threads (or gorutines) instead size of matrix for one gorutine? Dátum: štvrtok 25. marca 2021, čas: 19:21:02 UTC+1, odosielateľ: jas...@gmail.com > Blast from the past so it's hard to be sure, but I think that wa

Re: [go-nuts] Re: Parallel Matrix Multiplication

2021-03-27 Thread Gabriel Pcklub
So Threshold is Size / Threads? Dátum: štvrtok 25. marca 2021, čas: 19:21:02 UTC+1, odosielateľ: jas...@gmail.com > Blast from the past so it's hard to be sure, but I think that was how many > rows or columns to pick for parallel sub matrices to multiply. > > On Thu, Mar 25, 2021, 1:17 PM Gabri

Re: [go-nuts] Re: Parallel Matrix Multiplication

2021-03-27 Thread jasmuth
Don't use that code - instead pick up something modern and well-supported like https://www.gonum.org/ On Sat, Mar 27, 2021 at 3:23 PM Gabriel Pcklub wrote: > thanks for explanation, well, how can I change that code, so it will take > count of Threads (or gorutines) instead size of matrix for one