Skip to content

ggrbill/omp-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

omp-tutorial

Tutorial of OpenMP in C++.

Compilation

To compile any of the codes in this repository execute (inside src folder):

$ g++ -fopenmp {filename}.cpp

Run

To run the compiled file execute:

$ ./a.out

After execute it some output like the following one should appear

Number of threads: 4
Hello, World! (from thread: #0)
Hello, World! (from thread: #1)
Hello, World! (from thread: #2)
Hello, World! (from thread: #3)

About

Tutorial of OpenMP in C++

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages