Multithreading (openMP) - how many concurrent threads

I wonder if more than 8 threads can work simultaneously on equipment with 8 cores.

If so, using openMP to parallelize N computations, could I create chunks of size, say, N / 8, and in each thread continue forking into (N / 8) / 8 threads and possibly even more?

How is the situation when I inserted parallelization? do I still have 8 threads available for nested parallel?

Thank!!

+5
source share
3 answers

8 8 . , . , , ( ). . , -, , CPU, .

: .

. .

+10

.
, .

, , , :
total_threads = num_procs *

, = 2.

total_threads. total_threads * 2. , io .

- . .

+1

, 8 . -, parallelism, , openmp .

0

All Articles