Found 1 Articles for OpenMP

What is OpenMP?

Arnab Chakraborty
Updated on 11-Oct-2019 12:45:48

6K+ Views

OpenMP is a set of compiler directives as well as an API for programs written in C, C++, or FORTRAN that provides support for parallel programming in shared-memory environments. OpenMP identifies parallel regions as blocks of code that may run in parallel. Application developers insert compiler directives into their code at parallel regions, and these directives instruct the OpenMP run-time library to execute the region in parallel. The following C program illustrates a compiler directive above the parallel region containing the printf() statement −#include #include int main(int argc, char *argv[]){    /* sequential code */    #pragma omp ... Read More

1
Advertisements