Open main menu

CDOT Wiki β

Changes

Team False Sharing

9 bytes removed, 23:31, 21 December 2017
Identifying False Sharing
}
int threads_used;
int tid;
omp_set_num_threads(NUM_THREADS);
double start_time = omp_get_wtime();
#pragma omp parallel
{
int tid = omp_get_thread_num();
odds_local[tid] = 0.0;
#pragma omp for
96
edits