Hızlı yanıt: kod örneği
These are equivalent. spawns a group of threads, while divides loop iterations between the spawned threads. You can do both things at once with the fused directive.
#pragma omp parallel
#pragma omp for
#pragma omp parallel for