You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

openmp_example.c 305 B

3 years ago
1234567891011121314
  1. #include <stdio.h>
  2. #include <omp.h>
  3. int main() {
  4. #pragma omp parallel
  5. {
  6. int id = omp_get_thread_num();
  7. int data = id;
  8. int total = omp_get_num_threads();
  9. printf("Greetings from thread %d out of %d with Data %d\n", id, total, data);
  10. }
  11. printf("parallel for ends.\n");
  12. return 0;
  13. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.