Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2253c180 authored by thierry's avatar thierry
Browse files

Update

parent 240fc229
Branches
No related tags found
No related merge requests found
#include <omp.h>
#include <iostream>
int main()
{
int nthreads;
#pragma omp parallel
#pragma omp master
nthreads = omp_get_num_threads();
std::cout << "Number of threads for the next parallel region: "
<< nthreads << std::endl;
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment