Skip to content

maxinspace/OpenMP

Repository files navigation

#OpenMP tasks

##command to compile

  • ➜ git:(master) ✗ gcc -o omp1 -fopenmp OpenMP/omp01.c
  • omp1 - executable file, omp1.c - file to compile

##command to run

  • ➜ git:(master) ✗ ./omp1
  • omp1 - executable file

set threads amount

  • omp_set_num_threads() - via func
  • OMP_NUM_THREADS - via global variable.

OMP tutorials from Habr

About

OpenMP tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages