≈ the.bay.news

Using Threads.@spawn with BLAS.set_num_threads

Julia Programming Language
Using Threads.@spawn with BLAS.set_num_threads
Hi, I’m implementing a frequency sweep algorithm. In each iteration, two reduced models are evaluated on a grid of candidate points. Since each candidate frequency is evaluated independently of the others, I can evaluate them in different tasks. The issue is that the evaluations involve BLAS operations. I ran some tests, and in general, when I increase the number of tasks into which i split the candidates, I get slightly better perfomance when I set the number of BLAS threads to 1. The pseudo...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.