Consider the following networks (n is large): (2DH): A 2D-mesh of n nodes having size n1/2 x n1/2 (3DM): A 3D-torus of n nodes having size n1/3 x n1/3 x n1/3 (HYP): A hypercube of n nodes (CLIQ): A complete network of n nodes The arrangement of the networks in increasing order of diameter is:
Answers
Answered by
0
The answer is 4. The omp_get_num_threads() function will be returning the number of threads present in the team which is currently running in the parallel region from which the particular thread was called.
If the omp_get_num_threads() is called from a serial portion or nested parallel region in the program which is serialized, 1 will be returned.
Similar questions