On Wed, Jun 29, 2022 at 2:21 PM Jakub Jelinek wrote:
> On Wed, Jun 29, 2022 at 06:45:51AM +0200, Mohamed Atef wrote:
> > for this test case,
> >
> > 1.#include
> > 2.#include
> > 3.int
> > 4.main()
> > 5.{
> > 6. omp_set_num_threads (5);
> > 7. #pragma omp parallel
> > 8.{
> > 9. int
On Wed, Jun 29, 2022 at 06:45:51AM +0200, Mohamed Atef wrote:
> for this test case,
>
> 1.#include
> 2.#include
> 3.int
> 4.main()
> 5.{
> 6. omp_set_num_threads (5);
> 7. #pragma omp parallel
> 8.{
> 9. int th = omp_get_thread_num ();
> 10. printf ("i am thread %d\n", th);
> 11.
Hello,
for this test case,
1.#include
2.#include
3.int
4.main()
5.{
6. omp_set_num_threads (5);
7. #pragma omp parallel
8.{
9. int th = omp_get_thread_num ();
10. printf ("i am thread %d\n", th);
11.}
12. return 0;
13.}
Reading symbols from a.out...
OMPD GDB support loaded