Skip to content

Instantly share code, notes, and snippets.

Created Nov 14, 2011
What would you like to do?
parallel loop
#include <omp.h>
int main(int args, char **argv) {
int procs = omp_get_num_procs();
#pragma omp parallel
while (1);
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment