Created
May 16, 2016 07:00
-
-
Save samueljackson92/ddde71bcd344d39882c8222c4055dd4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <libiomp/omp.h> | |
#include <stdio.h> | |
int main() { | |
#pragma omp parallel | |
printf("Hello from thread %d, nthreads %d\n", omp_get_thread_num(), omp_get_num_threads()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment