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, 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 running on CPU. But it does give unexpected
> > or strange results.


Yeah, it's essentially the minimum block size for parallel execution.
At 1, it's attempting to work parallel the whole way down.

This thread is almost as old as the language though.

Dan


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/a0e439a53dfd0f91528073f8f7917ba53484b1b2.camel%40kortschak.io.

Reply via email to