#include #include #define NRA 1000 #define NCA 1000 #define NCB 7 void main() { int tid,nthreads,i,j,k,chuck; double a[NRA][NCA]; double b[NCA][NCB]; double c[NRA][NCB]; chuck=10; #pragma omp parallel shared(a,b,c,nthreads,chuck) private (tid, i,j,k) { tid=omp_get_thread_num(); if (tid==0) { nthreads=omp_get_num_threads(); printf("Matris çarpımı için %d thread kullanılmaktadır\n",nthreads); } #pragma omp for schedule(static, chuck) for (i=0;i